aboutsummaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorLionel Ulmer2002-06-04 18:18:44 +0000
committerLionel Ulmer2002-06-04 18:18:44 +0000
commit31a2efd89cdae6f8722af77177dba2a7763a94a5 (patch)
tree7aff5d5b39d746e20bd58de40e2857bce59d7788 /system.h
parent08cdef16191c9ea6cdf8611a24d74748533be6d4 (diff)
downloadscummvm-rg350-31a2efd89cdae6f8722af77177dba2a7763a94a5.tar.gz
scummvm-rg350-31a2efd89cdae6f8722af77177dba2a7763a94a5.tar.bz2
scummvm-rg350-31a2efd89cdae6f8722af77177dba2a7763a94a5.zip
Sorry for the mess.... Here is the mutex code :-)
svn-id: r4403
Diffstat (limited to 'system.h')
-rw-r--r--system.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/system.h b/system.h
index 5f9d586480..8295772dcf 100644
--- a/system.h
+++ b/system.h
@@ -142,6 +142,12 @@ public:
// Add a new callback timer
virtual void set_timer(int timer, int (*callback)(int)) = 0;
+ // Mutex handling
+ virtual void *create_mutex(void) = 0;
+ virtual void lock_mutex(void *mutex) = 0;
+ virtual void unlock_mutex(void *mutex) = 0;
+ virtual void delete_mutex(void *mutex) = 0;
+
// Quit
virtual void quit() = 0;
};