Re: PR_Write blocks indefinitely

Monkeon <[email protected]> Tue, 28 Oct 2008 03:01:58 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.nspr
Message-ID <[email protected]>
Hi,

I believe we are using the win95 version.  However, we will build the
libraries again ourselves to confirm these two points.  If we are running
the win95 version, should NSPR_NATIVE_THREADS_ONLY still be set to 1?

Thanks


Julien R Pierre - Sun Microsystems wrote:
> 
> 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.
> _______________________________________________
> dev-tech-nspr mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-nspr
> 
> 

-- 
View this message in context: http://www.nabble.com/PR_Write-blocks-indefinitely-tp20130460p20204263.html
Sent from the Mozilla - NSPR mailing list archive at Nabble.com.