This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
When should _Jv_read() be used?..
- From: David Daney <ddaney at avtrex dot com>
- To: GCC Java <java at gcc dot gnu dot org>
- Date: Tue, 13 Mar 2007 23:38:33 -0700
- Subject: When should _Jv_read() be used?..
In posix.h there are definitions for a bunch of functions with names
like _Jv_read(), _Jv_pipe(), that just wrap system calls of the same name.
In CNI code in libgcj there are many places where the system calls are
done directly. If I am hacking up libgcj, is there any disadvantage to
skipping the _Jv_* call and directly invoking the system call?
Also it looks like many of the _Jv_* things are only defined if
DISABLE_JAVA_NET is not defined. That leads me to think...I don't know
what.
David Daney