Changeset c33f39f in mainline for kernel/generic/src/ipc/ipcrsc.c


Ignore:
Timestamp:
2012-09-04T21:12:43Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
983cabe8
Parents:
2541646
Message:

Do not establish callback connections after the answerbox enters cleanup.

File:
1 edited

Legend:

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

    r2541646 rc33f39f  
    241241 * @param phoneid Phone handle to be connected.
    242242 * @param box     Answerbox to which to connect the phone handle.
     243 * @return        True if the phone was connected, false otherwise.
    243244 *
    244245 * The procedure _enforces_ that the user first marks the phone
     
    247248 *
    248249 */
    249 void phone_connect(int phoneid, answerbox_t *box)
     250bool phone_connect(int phoneid, answerbox_t *box)
    250251{
    251252        phone_t *phone = &TASK->phones[phoneid];
    252253       
    253254        ASSERT(phone->state == IPC_PHONE_CONNECTING);
    254         ipc_phone_connect(phone, box);
     255        return ipc_phone_connect(phone, box);
    255256}
    256257
Note: See TracChangeset for help on using the changeset viewer.