DRLVM has a complex system of locks used to synchronize multiple threads operation.
hymutex_create
, hymutex_lock
, hymutex_trylock
, hymutex_unlock
, hymutex_destroy
hycond_create
, hycond_wait
, hycond_wait_timed
, hycond_wait_interruptable
, hycond_notify
, hycond_notify_all
, hycond_destroy
jthread_monitor_init thread\src\thread_java_monitors.c jthread_monitor_enter thread\src\thread_java_monitors.c jthread_monitor_try_enter thread\src\thread_java_monitors.c jthread_monitor_exit thread\src\thread_java_monitors.c jthread_monitor_notify thread\src\thread_java_monitors.c jthread_monitor_notify_all thread\src\thread_java_monitors.c jthread_monitor_wait thread\src\thread_java_monitors.c jthread_monitor_timed_wait thread\src\thread_java_monitors.c jthread_monitor_init thread/src/thread_java_monitors.c jthread_monitor_enter thread/src/thread_java_monitors.c jthread_monitor_try_enter thread/src/thread_java_monitors.c jthread_monitor_exit thread/src/thread_java_monitors.c jthread_monitor_notify thread/src/thread_java_monitors.c jthread_monitor_notify_all thread/src/thread_java_monitors.c jthread_monitor_wait thread/src/thread_java_monitors.c jthread_monitor_timed_wait thread/src/thread_java_monitors.c |
Some of the topics are already covered by http://harmony.apache.org/subcomponents/drlvm/TM.html