On Sun, 1 Nov 1998 11:12:30 -0800, Andrew Burgess wrote:

>
>Regarding my problem with open(), upon reading further I see in 
>tutorial/native1.1/implementing/invo.html:
>
>>The user-level Java programming language thread implementation on Solaris
>>requires the Java Virtual Machine to redirect certain Solaris system calls. The
>>set of redirected system calls currently includes read, readv, write, writev,
>>getmsg, putmsg, poll, open, close, pipe, fcntl, dup, create, accept, recv,
>>send, and so on. This may cause undesirable effects on a hosting native
>>application that also depends on these system calls. 
>
>I believe this translates to "I'm screwed". Any chance this works in 1.2?

Well, the only real answer here is not to use green threads but native
threads.  Green threads require these tricks so as to be able to
do task switching while a call to a blocking I/O function is made.
Native threads do not have that problem (but may have others :-()


Michael Sinz -- Director of Research & Development, NextBus Inc.
mailto:[EMAIL PROTECTED] --------- http://www.nextbus.com
My place on the web ---> http://www.users.fast.net/~michael_sinz

Reply via email to