summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/sync/sync_mini.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-01-30 20:43:50 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-01-30 20:43:50 +0100
commit42622cfe8effd40c0bf63030738e43feaa6999d6 (patch)
treeed9b2fca652c236a1a881c926a7f35fbd9dbcb3d /src/osd/modules/sync/sync_mini.cpp
parent81123aa4b5a8973298c5a6e46655fb2dcd05a494 (diff)
replace osd_lock with std::mutex [Miodrag Milanovic]
Diffstat (limited to 'src/osd/modules/sync/sync_mini.cpp')
-rw-r--r--src/osd/modules/sync/sync_mini.cpp57
1 files changed, 0 insertions, 57 deletions
diff --git a/src/osd/modules/sync/sync_mini.cpp b/src/osd/modules/sync/sync_mini.cpp
index f5e6accb0c7..5829eb6d63c 100644
--- a/src/osd/modules/sync/sync_mini.cpp
+++ b/src/osd/modules/sync/sync_mini.cpp
@@ -20,63 +20,6 @@ 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
//============================================================