diff options
author | Carl Shapiro <cshapiro@google.com> | 2009-12-24 19:56:53 -0800 |
---|---|---|
committer | Carl Shapiro <cshapiro@google.com> | 2010-01-04 14:45:35 -0800 |
commit | 77f52ebffa3793a7e824fab7da02eaee9afdae0e (patch) | |
tree | 683e1c604242f5e4ef3bbc6476d4a094f59f964c /vm/Sync.h | |
parent | 15812f132f22da443c24609e37298f130acfcfa4 (diff) | |
download | android_dalvik-77f52ebffa3793a7e824fab7da02eaee9afdae0e.tar.gz android_dalvik-77f52ebffa3793a7e824fab7da02eaee9afdae0e.tar.bz2 android_dalvik-77f52ebffa3793a7e824fab7da02eaee9afdae0e.zip |
New implementation of wait, notify, and notifyAll. Uses an explicit
queue to represent the wait set instead of the implicit queue within
the monitor condition variable.
Diffstat (limited to 'vm/Sync.h')
-rw-r--r-- | vm/Sync.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -96,7 +96,7 @@ void dvmThreadSleep(u8 msec, u4 nsec); * * Interrupt a thread. If it's waiting on a monitor, wake it up. */ -void dvmThreadInterrupt(volatile struct Thread* thread); +void dvmThreadInterrupt(struct Thread* thread); /* create a new Monitor struct */ Monitor* dvmCreateMonitor(struct Object* obj); |