[1742] in java-interest
Re: Re: Learner's questions
daemon@ATHENA.MIT.EDU (min@oti.on.ca)
Fri Sep 15 13:05:45 1995
Date: Fri, 15 Sep 1995 09:39:31 -0400
From: "" <min@oti.on.ca>
Cc: <java-interest@java.Eng.Sun.COM>
To: java-interest@java.Eng.Sun.COM
To: arthur.vanhoff@Eng.Sun.COM
To: oti!hoff@uunet.ca
To: oti!van@uunet.ca
To: oti!arthur@uunet.ca
on Thu, 14 Sep 1995 20:35:03 -0400 arthur van hoff <arthur.vanhoff@eng.sun.com> wrote:
> > 2. From the class API docs, I don't how to let a thread wait on a OS
> > event? Or I have to go
> > through native methods. Are there any other sync. methods other than
> > wait()/notify()? Because
> > those two seems do not support conditional variables or events.
>
> What kind of OS event are you talking about? We don't provide direct access
> to any system dependent features.
>
By OS event, I really mean system level objects(mutex,semaphore,event,...), i.e. provided by OS. So I
could make do things like non-blocking system calls. Also if I have two Java processes running.
I could let them share these objects.
Because I don't have access to the source code, I can not really see the Thread model and implementation
used by Java.
Regards,
--min
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com