Re: [LTP] [PATCH v5 2/2] open_posix_testsuite/../mq_timedsend/12-1: fix race

chrubis
2013-08-27T11:51:08Z

Hi!
> > Test can send SIGUSR1 signal after thread has already completed
> > and report failure from main() and success from a_thread_func():
> >
> > conformance/interfaces/mq_timedsend/12-1: execution: UNRESOLVED: Output:
> > Error: in pthread_kill
> > : Success
> > thread: mq_timedsend interrupted by signal and correctly set errno to EINTR
> >
> > Synchronize exit of a_thread_func(), so that thread can exit only
> > after loop sending SIGUSR1 completed.
> >
> > Signed-off-by: Jan Stancek <jstancek@redhat.com>
> > ---
> > Changes in v5:
> > - return value from pthread_exit is not used, always return NULL
>
> Looks good to me. Acked.
>

Did you forget to commit this patch?

--
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!