Changeset 716185d in mainline for kernel/generic/include/ipc


Ignore:
Timestamp:
2012-10-03T20:37:07Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
466e95f7
Parents:
190976f
Message:

Call request_process() callback for incoming calls during IPC cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/ipc/sysipc_ops.h

    r190976f r716185d  
    7070 * the call is request_forget().
    7171 *
    72  * The request_process() callback will be skipped if the callee terminates
    73  * before picking up the request. In this case, the terminating task will
    74  * cleanup its incoming calls list and so the next callback invoked on the call
    75  * will usually be answer_preprocess(). If, in the meantime, the caller
    76  * terminates too, it may happen that the call will be forgotten instead of
    77  * answered, in which case the kernel will invoke the request_forget() and
    78  * answer_cleanup() callbacks instead. The order in which they are invoked is
    79  * not defined.
    80  *
    8172 * The comments for each callback type describe the specifics of each callback
    8273 * such as the context in which it is invoked and various constraints.
     
    112103         * Caller alive:        no guarantee
    113104         * Races with:          request_forget()
    114          * Invoked on:          calls that are explicitly received by the callee
     105         * Invoked on:          all calls delivered to the callee
    115106         */     
    116107        int (* request_process)(call_t *, answerbox_t *);
     
    144135         * Caller alive:        guaranteed
    145136         * Races with:          N/A
    146          * Invoked on:          answered calls explicitly received by the caller
     137         * Invoked on:          all answered calls
    147138         */
    148139        int (* answer_process)(call_t *);
Note: See TracChangeset for help on using the changeset viewer.