[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C native layer (pre-announcement)
From: |
Prof. Etienne M. Gagnon |
Subject: |
Re: C native layer (pre-announcement) |
Date: |
Wed, 05 Mar 2003 09:58:04 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021226 Debian/1.2.1-9 |
Hi Brian,
I will attempt to answer some of your questions. Dr. Rupp will probably correct
any error I make in my answers.
I'm confused about when to worry about this. Does it matter for
synchronized methods?
Yes, as the system/library call you are doing might also be done by *another*
method on *another* thread.
Does it matter for all native code?
Of course.
Does ANSI
define what is reentrant?
Posix does, which is what most of Classpath's native code relies on.
Etienne
--
Etienne M. Gagnon, Ph.D. http://www.info.uqam.ca/~egagnon/
SableVM: http://www.sablevm.org/
SableCC: http://www.sablecc.org/