Re: [systemd-devel] [PATCH 2/2] test: wait for cloned thread to exit

2014-12-25 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Dec 23, 2014 at 10:15:49AM -0800, Filipe Brandenburger wrote: > In test_raw_clone, make sure the cloned thread calls _exit() and in the parent > thread call waitpid(..., __WCLONE) to wait for the child thread to terminate, > otherwise there is a race condition where the child thread will lo

Re: [systemd-devel] [PATCH 2/2] test: wait for cloned thread to exit

2014-12-23 Thread Filipe Brandenburger
Hi, On Tue, Dec 23, 2014 at 6:43 AM, Lennart Poettering wrote: > On Mon, 22.12.14 11:57, Filipe Brandenburger (filbran...@google.com) wrote: >> Ping? > > I got none of these emails, and they are neither shown in the mailing > list archives. There must be something wrong in the mail delivery > bet

[systemd-devel] [PATCH 2/2] test: wait for cloned thread to exit

2014-12-23 Thread Filipe Brandenburger
In test_raw_clone, make sure the cloned thread calls _exit() and in the parent thread call waitpid(..., __WCLONE) to wait for the child thread to terminate, otherwise there is a race condition where the child thread will log to the console after the test process has already exited and the assertion

Re: [systemd-devel] [PATCH 2/2] test: wait for cloned thread to exit

2014-12-23 Thread Lennart Poettering
On Mon, 22.12.14 11:57, Filipe Brandenburger (filbran...@google.com) wrote: > Ping? I got none of these emails, and they are neither shown in the mailing list archives. There must be something wrong in the mail delivery between google.com and fdo? > On Thu, Dec 18, 2014 at 11:24 AM, Filipe Brand

Re: [systemd-devel] [PATCH 2/2] test: wait for cloned thread to exit

2014-12-22 Thread Filipe Brandenburger
Ping? On Thu, Dec 18, 2014 at 11:24 AM, Filipe Brandenburger wrote: > In test_raw_clone, make sure the cloned thread calls _exit() and in the parent > thread call waitpid(..., __WCLONE) to wait for the child thread to terminate, > otherwise there is a race condition where the child thread will lo