summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/sync/sync_mini.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/sync/sync_mini.cpp')
-rw-r--r--src/osd/modules/sync/sync_mini.cpp57
1 files changed, 57 insertions, 0 deletions
diff --git a/src/osd/modules/sync/sync_mini.cpp b/src/osd/modules/sync/sync_mini.cpp
index 5829eb6d63c..f5e6accb0c7 100644
--- a/src/osd/modules/sync/sync_mini.cpp
+++ b/src/osd/modules/sync/sync_mini.cpp
@@ -20,6 +20,63 @@ struct _osd_thread {
//============================================================
+// osd_lock_alloc
+//============================================================
+
+osd_lock *osd_lock_alloc(void)
+{
+ // the minimal implementation does not support threading
+ // just return a dummy value here
+ return (osd_lock *)1;
+}
+
+
+//============================================================
+// osd_lock_acquire
+//============================================================
+
+void osd_lock_acquire(osd_lock *lock)
+{
+ // the minimal implementation does not support threading
+ // the acquire always "succeeds"
+}
+
+
+//============================================================
+// osd_lock_try
+//============================================================
+
+int osd_lock_try(osd_lock *lock)
+{
+ // the minimal implementation does not support threading
+ // the acquire always "succeeds"
+ return TRUE;
+}
+
+
+//============================================================
+// osd_lock_release
+//============================================================
+
+void osd_lock_release(osd_lock *lock)
+{
+ // the minimal implementation does not support threading
+ // do nothing here
+}
+
+
+//============================================================
+// osd_lock_free
+//============================================================
+
+void osd_lock_free(osd_lock *lock)
+{
+ // the minimal implementation does not support threading
+ // do nothing here
+}
+
+
+//============================================================
// osd_event_alloc
//============================================================