sysread blocking writer thread?
[email protected] (Shmuel Fomberg) Mon, 24 Dec 2007 22:10:06 +0200
| Newsgroups | perl.ithreads |
|---|---|
| Message-ID | <000101c84668$fa48fe90$6801a8c0@semuel7> |
Hi All. I have a program where two threads are handling one socket. One thread is reading and the other is writing to the socket. (using ActiveState Perl 5.8.8_822 on WinXP) However, the writer thread sometimes blocks for no apperent reason. I saw that the reader thead is using sysread, and got a suspicion that this sysread is blocking the writer thread from writing. Is it possible? Thanks, Shmuel.