Re: PR_Write blocks indefinitely
Julien R Pierre - Sun Microsystems <[email protected]> Mon, 27 Oct 2008 16:43:13 -0700
| Newsgroups | gmane.comp.mozilla.devel.nspr |
|---|---|
| Message-ID | <[email protected]> |
Monkeon, Monkeon wrote: > Thanks for the reply. The message being sent is no more than a few hundred > bytes maximum. The "server" in this instance is another thread waiting on > PR_Poll(). This being the case, what situation would cause the server to > not read? Since posting my last message, a second client has reported the > same issue, suggesting that this is not an environmental issue for a > specific client (i.e. antivirus etc). Could XP service pack 3 be causing a > problem? Are you using the NT version of NSPR or the Win95 version ? What is your OS_TARGET environment variable set to when you build NSPR ? If it's set to WINNT, please try setting the environment variable NSPR_NATIVE_THREADS_ONLY to 1 . Otherwise, your two NSPR threads might be running with 2 fibers off the same native thread, which could potentially cause a deadlock.