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
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
В Сб, 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
В Сб, 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
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
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
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
В Пт, 17/06/2022 в 21:15 +, adr пишет:
> On Fri, 17 Jun 2022, andrey100100...@gmail.com wrote:
> > Seems like noted() call not needed in user code.
>
> noted() is only needed when using the syscall notify, when using
> atnotify() (or threadnotify) you don't need it, as it is said in
>
10 matches
Mail list logo