This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Usage of strerror in natFileDescriptor.cc
- From: Mark Wielaard <mark at klomp dot org>
- To: java at gcc dot gnu dot org
- Date: Fri, 17 Oct 2003 16:19:15 +0200
- Subject: Usage of strerror in natFileDescriptor.cc
Hi,
While reading natFileDescriptor.cc I noticed the use of strerror(). Is
this funtion thread save? All calls are wrapped in a JvNewStringLatin1()
call so this might be save, but it seems there might be a small
opertunity for a race to occur when called from two threads at the same
time.
Cheers,
Mark