diff options
author | ilsimo <ilsimo> | 2007-05-06 21:02:25 +0000 |
---|---|---|
committer | ilsimo <ilsimo> | 2007-05-06 21:02:25 +0000 |
commit | f22b5b42a74314af8c4232c86ccce968c6a37ce5 (patch) | |
tree | 83da9d21acb9b9c8bb04414228a85153ec972259 /sesman/lock.h | |
parent | d0e066ee8b0d428f6876bc32a97ce1e70420a65e (diff) | |
download | xrdp-proprietary-f22b5b42a74314af8c4232c86ccce968c6a37ce5.tar.gz xrdp-proprietary-f22b5b42a74314af8c4232c86ccce968c6a37ce5.zip |
making libscp a real library
some fixes in configuration options
Diffstat (limited to 'sesman/lock.h')
-rw-r--r-- | sesman/lock.h | 42 |
1 files changed, 1 insertions, 41 deletions
diff --git a/sesman/lock.h b/sesman/lock.h index 312bb045..045a8ffa 100644 --- a/sesman/lock.h +++ b/sesman/lock.h @@ -22,9 +22,6 @@ #include "sesman.h" -#define SESMAN_LOCK_FORK_BLOCKER 1 -#define SESMAN_LOCK_FORK_WAITING 0 - /** * * @brief initializes all the locks @@ -81,42 +78,5 @@ lock_socket_acquire(void); void DEFAULT_CC lock_socket_release(void); -/** - * - * @brief requires to fork a new child process - * - */ -void DEFAULT_CC -lock_fork_request(void); - -/** - * - * @brief releases a fork() request - * - */ -void DEFAULT_CC -lock_fork_release(void); - -/** - * - * @brief starts a section that is critical for forking - * - * starts a section that is critical for forking, that is noone can fork() - * while i'm in a critical section. But if someone wanted to fork we have - * to wait until he finishes with lock_fork_release() - * - * @return - * - */ -int DEFAULT_CC -lock_fork_critical_section_start(void); - -/** - * - * @brief closes the critical section - * - */ -void DEFAULT_CC -lock_fork_critical_section_end(int blocking); - #endif + |