CR 6860309 - solaris timing issue on thread startup

David Holmes david.holmes at oracle.com
Tue Nov 15 00:48:16 UTC 2011


On 14/11/2011 6:05 PM, Alan Bateman wrote:
> The test runs cat without any arguments so the Copier threads will block
> when they read from the stream.

Thank's Alan that critical point had escaped my notice.

David

  If we can get the main thread to wait
> until the Copier threads are just about to do the read, sleep for a bit,
> then the threads should be blocked in the read when we destroy the
> process. It's not ideal but I don't think there is any other way to test
> this.
>
> -Alan.



More information about the core-libs-dev mailing list