1
0
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:
Wind4
2016-10-31 20:59:15 +08:00
parent 936811ff5c
commit fcbbc40d60
39 changed files with 904 additions and 305 deletions

View File

@@ -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__
}