JVM Languages
monitor.txt
Associated article: Synchronization Monitors for Win32
Tags: JVM Languages
Published source code and related files accompanying the article by Thomas Becker in which he presents a Java-style synchronization monitor for multithreaded Win32 development. Also see MONITOR.ZIP.
Synchronization Monitors for Win32
by Thomas Becker
Example 1:
FairMonitor::Wait()
{
create a Win32 event
[place the event handle in the wait set]
release the lock
block on the event
acquire the lock
destroy the event
}
FairMonitor::Notify()
{
[retrieve and remove ...


