timetable change on mingw-libgcj

Bryce McKinlay bryce@waitaki.otago.ac.nz
Mon Dec 17 18:08:00 GMT 2001


Boehm, Hans wrote:
>How are MacOSX threads implemented? Do they map directly to kernel threads?
>
Yes, theres an overview of the Mac OS X threading here:
http://developer.apple.com/techpubs/macosx/Essentials/SystemOverview/InverEnvironissues/Threading_Packages.html
The only problem with that nice diagram is that the posix threads 
support isn't actually complete.
>>Is there a way to stop a thread other than by sending it a signal?
>Mach does provide a thread_suspend() and thread_resume(), and you can 
more or less mix direct mach calls with pthreads calls since pthreads is 
just a layer over mach. I presume there is also a way to get the 
register state of a suspended thread, but I havn't really looked yet.
Apple are planning to implement the missing pthreads functionality (ie 
pthread_kill) at some point, but I wouldn't hold my breath ;-)
regards
Bryce.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /