diff options
author | Lionel Ulmer | 2002-06-04 18:18:44 +0000 |
---|---|---|
committer | Lionel Ulmer | 2002-06-04 18:18:44 +0000 |
commit | 31a2efd89cdae6f8722af77177dba2a7763a94a5 (patch) | |
tree | 7aff5d5b39d746e20bd58de40e2857bce59d7788 /system.h | |
parent | 08cdef16191c9ea6cdf8611a24d74748533be6d4 (diff) | |
download | scummvm-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.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; }; |