Changeset 53af6e8c in mainline for kernel/generic/src/ipc/ipc.c


Ignore:
Timestamp:
2012-08-26T13:53:26Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
eb5560a
Parents:
20282ef3
Message:

No need to hold the sender task when the call is going to be answered.
The sender may no longer forget the call and, in fact, must wait for it.

File:
1 edited

Legend:

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

    r20282ef3 r53af6e8c  
    196196        } else {
    197197                /*
    198                  * Hold the sender task so that it does not suddenly disappear
    199                  * while we are working with it.
    200                  */
    201                 task_hold(call->sender);
    202 
    203                 /*
    204198                 * If the call is still active, i.e. it was answered
    205199                 * in a non-standard way, remove the call from the
     
    232226       
    233227        waitq_wakeup(&callerbox->wq, WAKEUP_FIRST);
    234 
    235         task_release(call->sender);
    236228}
    237229
Note: See TracChangeset for help on using the changeset viewer.