This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: timetable change on mingw-libgcj


>>>>> "Bryce" == Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:

Bryce> Mach does provide a thread_suspend() and thread_resume(), and
Bryce> you can more or less mix direct mach calls with pthreads calls
Bryce> since pthreads is just a layer over mach. I presume there is
Bryce> also a way to get the register state of a suspended thread, but
Bryce> I havn't really looked yet.

Bryce> Apple are planning to implement the missing pthreads
Bryce> functionality (ie pthread_kill) at some point, but I wouldn't
Bryce> hold my breath ;-)

There's no requirement to use the pthreads API.
If the Mach threads API has what is needed for the port, just use that
instead.  Writing a new thread port isn't very hard.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]