summaryrefslogtreecommitdiffstats
path: root/vm/Sync.h
diff options
context:
space:
mode:
authorCarl Shapiro <cshapiro@google.com>2009-12-24 19:56:53 -0800
committerCarl Shapiro <cshapiro@google.com>2010-01-04 14:45:35 -0800
commit77f52ebffa3793a7e824fab7da02eaee9afdae0e (patch)
tree683e1c604242f5e4ef3bbc6476d4a094f59f964c /vm/Sync.h
parent15812f132f22da443c24609e37298f130acfcfa4 (diff)
downloadandroid_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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/Sync.h b/vm/Sync.h
index 7f5ef08c2..9524b69bb 100644
--- a/vm/Sync.h
+++ b/vm/Sync.h
@@ -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);