diff options
author | jsorg71 <jsorg71> | 2009-01-12 06:43:58 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2009-01-12 06:43:58 +0000 |
commit | a71ca6bc1fcea4b4b6ccf0a51d94eb4b79cd764f (patch) | |
tree | f8945e11207c1e9dff8c8daa0313d4faa24dd136 /sesman/lock.h | |
parent | 49552f5ebf5cd3e86a02ba1659a3d1972ec66ded (diff) | |
download | xrdp-proprietary-a71ca6bc1fcea4b4b6ccf0a51d94eb4b79cd764f.tar.gz xrdp-proprietary-a71ca6bc1fcea4b4b6ccf0a51d94eb4b79cd764f.zip |
only the main thread forks
Diffstat (limited to 'sesman/lock.h')
-rw-r--r-- | sesman/lock.h | 33 |
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 |