Changeset 119c335 in mainline for kernel/generic/src/ipc/ipc.c


Ignore:
Timestamp:
2008-09-25T18:17:00Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e436cfe
Parents:
0993087
Message:

Add comments documenting our treatment of the task's active call counter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/ipc.c

    r0993087 r119c335  
    509509
    510510        /* Free unused call */
    511         if (call) ipc_call_free(call);
     511        if (call)
     512                ipc_call_free(call);
    512513}
    513514
     
    574575                ASSERT(!(call->flags & IPC_CALL_STATIC_ALLOC));
    575576               
     577                /*
     578                 * Record the receipt of this call in the current task's counter
     579                 * of active calls. IPC_M_PHONE_HUNGUP calls do not contribute
     580                 * to this counter so do not record answers to them either.
     581                 */
    576582                if (!(call->flags & IPC_CALL_DISCARD_ANSWER))
    577583                        atomic_dec(&TASK->active_calls);
Note: See TracChangeset for help on using the changeset viewer.