mirror of
https://github.com/Wind4/vlmcsd
synced 2025-09-07 06:36:53 +00:00
vlmcsd-svn1099-2016-10-25-Hotbird64
This commit is contained in:
@@ -835,7 +835,7 @@ static void post_sem(void)
|
||||
#if !defined(NO_LIMIT) && !__minix__
|
||||
if (!InetdMode && MaxTasks != SEM_VALUE_MAX)
|
||||
{
|
||||
semaphore_post(Semaphore);
|
||||
semaphore_post(MaxTaskSemaphore);
|
||||
}
|
||||
#endif // !defined(NO_LIMIT) && !__minix__
|
||||
}
|
||||
@@ -846,7 +846,7 @@ static void wait_sem(void)
|
||||
#if !defined(NO_LIMIT) && !__minix__
|
||||
if (!InetdMode && MaxTasks != SEM_VALUE_MAX)
|
||||
{
|
||||
semaphore_wait(Semaphore);
|
||||
semaphore_wait(MaxTaskSemaphore);
|
||||
}
|
||||
#endif // !defined(NO_LIMIT) && !__minix__
|
||||
}
|
||||
|
Reference in New Issue
Block a user