http://bugs.winehq.org/show_bug.cgi?id=17195
Luke Kenneth Casson Leighton lkcl@lkcl.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #19145|0 |1 is obsolete| | Attachment #19215|0 |1 is obsolete| |
--- Comment #10 from Luke Kenneth Casson Leighton lkcl@lkcl.net 2009-02-04 12:14:34 --- Created an attachment (id=19240) --> (http://bugs.winehq.org/attachment.cgi?id=19240) 5th test - threadwrite
this is a multi-threaded-writer test. several threads can be made to write on the same pipe handle, and there is only one reader. the number of messages sent and received are counted, and the data sent is checked to be correctly received.
it's using CreateThread() not _beginthread() due to a bug in nt with the msvcrt function, _beginthread(), which blocks indefinitely on multi-threaded read/write interaction!