On 6/18/22 23:54, adr wrote:
> On Sat, 18 Jun 2022, Jacob Moody wrote:
>> I've attempted to reproduce it, trying to remove the libthread/notify
>> factors. I've come up with this:
>>
>> #include
>> #include
>>
>> static void
>> proc_udp(void*)
>> {
>>char resp[512];
>>char req[] =
On Sat, 18 Jun 2022, Jacob Moody wrote:
I've attempted to reproduce it, trying to remove the libthread/notify
factors. I've come up with this:
#include
#include
static void
proc_udp(void*)
{
char resp[512];
char req[] = "request";
int fd;
int n;
int pid;
On Sun, 19 Jun 2022, adr wrote:
The solution is obvious, cancel the process' handlers before it
exits so we don't run out of space.
This was really silly...
Now, is there any reason to not do that in threadexits() when it
terminates the process?
Shouldn't threadnotify() cancel only the proce
Oh man... how silly, I know what's going on. We are using processes
not threads, so although we are sharing the same array of handlers,
they are registered for different processes. When the array is full
the next processes fail to register handlers _for_them_ so as andrey
rightly said, the default
В Сб, 18/06/2022 в 09:22 +, adr пишет:
> On Sat, 18 Jun 2022, adr wrote:
>
> > On Sat, 18 Jun 2022, andrey100100...@gmail.com wrote:
> >
> > > -
> > >
> > > cpu% 6.out | grep end | wc -l
> > > 33
> > >
> > >
> > > Problem in unregistered hand
В Сб, 18/06/2022 в 06:53 -0600, Jacob Moody пишет:
> On 6/18/22 03:22, adr wrote:
> > On Sat, 18 Jun 2022, adr wrote:
> >
> > > On Sat, 18 Jun 2022, andrey100100...@gmail.com wrote:
> > >
> > > > -
> > > >
> > > > cpu% 6.out | grep end | wc -l
> > > >
В Сб, 18/06/2022 в 08:37 +, adr пишет:
> On Sat, 18 Jun 2022, andrey100100...@gmail.com wrote:
>
> > -
> >
> > cpu% 6.out | grep end | wc -l
> > 33
> >
> >
> > Problem in unregistered handlers.
>
> But unregistered handlers shouldn't be a pro
On 6/18/22 03:22, adr wrote:
> On Sat, 18 Jun 2022, adr wrote:
>
>> On Sat, 18 Jun 2022, andrey100100...@gmail.com wrote:
>>
>>> -
>>>
>>> cpu% 6.out | grep end | wc -l
>>> 33
>>>
>>>
>>> Problem in unregistered handlers.
>>
>> But unregistered handl
On Sat, 18 Jun 2022, adr wrote:
On Sat, 18 Jun 2022, andrey100100...@gmail.com wrote:
-
cpu% 6.out | grep end | wc -l
33
Problem in unregistered handlers.
But unregistered handlers shouldn't be a problem. The process is
been killed when alar
On Sat, 18 Jun 2022, andrey100100...@gmail.com wrote:
-
cpu% 6.out | grep end | wc -l
33
Problem in unregistered handlers.
But unregistered handlers shouldn't be a problem. The process is
been killed when alarm sends the note. That's why the c
10 matches
Mail list logo