summaryrefslogtreecommitdiffstats
path: root/sesman/lock.h
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2009-01-12 06:43:58 +0000
committerjsorg71 <jsorg71>2009-01-12 06:43:58 +0000
commita71ca6bc1fcea4b4b6ccf0a51d94eb4b79cd764f (patch)
treef8945e11207c1e9dff8c8daa0313d4faa24dd136 /sesman/lock.h
parent49552f5ebf5cd3e86a02ba1659a3d1972ec66ded (diff)
downloadxrdp-proprietary-a71ca6bc1fcea4b4b6ccf0a51d94eb4b79cd764f.tar.gz
xrdp-proprietary-a71ca6bc1fcea4b4b6ccf0a51d94eb4b79cd764f.zip
only the main thread forks
Diffstat (limited to 'sesman/lock.h')
-rw-r--r--sesman/lock.h33
1 files changed, 32 insertions, 1 deletions
diff --git a/sesman/lock.h b/sesman/lock.h
index 4d2a8655..5ea5e7f4 100644
--- a/sesman/lock.h
+++ b/sesman/lock.h
@@ -78,5 +78,36 @@ lock_socket_acquire(void);
void DEFAULT_CC
lock_socket_release(void);
-#endif
+/**
+ *
+ * @brief request the main sync lock
+ *
+ */
+void APP_CC
+lock_sync_acquire(void);
+/**
+ *
+ * @brief releases the main sync lock
+ *
+ */
+void APP_CC
+lock_sync_release(void);
+
+/**
+ *
+ * @brief request the sync sem lock
+ *
+ */
+void APP_CC
+lock_sync_sem_acquire(void);
+
+/**
+ *
+ * @brief releases the sync sem lock
+ *
+ */
+void APP_CC
+lock_sync_sem_release(void);
+
+#endif