Changeset 675fcbd in mainline


Ignore:
Timestamp:
2012-09-29T10:18:16Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
190976f
Parents:
6b83300
Message:

Call the answer_process() callback for answers picked up in IPC cleanup.

Location:
kernel/generic
Files:
2 edited

Legend:

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

    r6b83300 r675fcbd  
    7878 * answer_cleanup() callbacks instead. The order in which they are invoked is
    7979 * not defined.
    80  *
    81  * The answer_process() callback will be skipped if the caller terminates
    82  * before picking up the answer. This means that this callback is not suitable
    83  * for releasing system resources allocated by the preceding callbacks.
    8480 *
    8581 * The comments for each callback type describe the specifics of each callback
  • kernel/generic/src/ipc/ipc.c

    r6b83300 r675fcbd  
    707707            SYNCH_FLAGS_NONE);
    708708        ASSERT(call->flags & (IPC_CALL_ANSWERED | IPC_CALL_NOTIF));
     709
     710        sysipc_ops_t *ops = sysipc_ops_get(call->request_method);
     711        if (ops->answer_process)
     712                ops->answer_process(call);
     713
    709714        ipc_call_free(call);
    710715        goto restart;
Note: See TracChangeset for help on using the changeset viewer.