NSPR I/O functions and thread safety

[email protected]
Newsgroups gmane.comp.mozilla.devel.nspr
Organization http://groups.google.com
Message-ID <[email protected]>
Folks,

I'd like to know if there have been any efforts to make NSPR i/o
functions thread-safe? When for example a file operation is in
progress (sendfile?), if another thread comes along and deletes the
filedesc, what is the protection against it? Considering the fact that
NSPR supports multi-threading and file I/O, one would expect it to be
thread safe in this respect. Is this not a common requirement in
threaded applications?

Any help would be appreciated.

Thanks,
Anjuman
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.