Updates:
        Status: Assigned
        Owner: [email protected]

Comment #1 on issue 18410 by [email protected]: PR_Cleanup always fails
http://code.google.com/p/chromium/issues/detail?id=18410

The implementation of PR_Cleanup for POSIX systems is:
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/nsprpub/pr/src/pthreads/ptthread.c&rev=3.84&mark=1038,1082,1084#1032

It has only two return statements, so it can only return PR_FAILURE if the  
current
thread ('me') is not the primordial thread (PT_THREAD_PRIMORD).  I believe  
we're
initializing NSPR on the IO thread, so the IO thread gets the  
PT_THREAD_PRIMORD flag
set.  The fix would be to initialize NSPR on the main thread.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to