Call sched_yield() from each of two bound threads.
Process Context Switch
Call sched_yield() from each of two processes.
Cancellation Disable/Enable
Call pthread_setcancelstate(DISABLE) then ENABLE.
Call InterruptibleThread.disable(), then Inter-ruptibleThread.enable().
Test for Deferred Cancellation
Call pthread_testcancel().
Call Thread.interrupted().
Reference a Global Variable
Load a single word into a register.
Reference Thread-Specific Data
Call pthread_getspecific().
Call (Integer) tsd.get().
Reference "Fake" Thread-Specific Data
Call (TSDThread) Thread.currentThread().j.
Search WWH :
Custom Search
Previous Page
Multithreaded Programming with JAVA - Topic Index
Next Page
Multithreaded Programming with JAVA - Bookmarks
Home