Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1023 → Rev 1024

/kernel/trunk/generic/src/syscall/syscall.c
124,7 → 124,7
*/
static int check_call_limit(void)
{
if (atomic_inc_post(&TASK->active_calls) > IPC_MAX_ASYNC_CALLS) {
if (atomic_preinc(&TASK->active_calls) > IPC_MAX_ASYNC_CALLS) {
atomic_dec(&TASK->active_calls);
return -1;
}