Changeset 20282ef3 in mainline for kernel/generic/include/ipc/ipc.h


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

When answer_preprocess() wins the race for a call, let it also dequeue
the call from the sender's active list so that we have a real atomic
either-answered-or-forgotten behavior.

This change avoids the possibility that the race is won in
answer_preprocess(), but lost later in _ipc_answer_free_call(), which
would have the effect of skipping some of the necessary call_t cleanup.

File:
1 edited

Legend:

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

    rb1e6269 r20282ef3  
    131131         */
    132132        bool forget;
     133
     134        /** True if the call is in the active list. */
     135        bool active;
    133136       
    134137        /**
Note: See TracChangeset for help on using the changeset viewer.