Changeset a1026da in mainline for uspace/lib/c/generic/async.c


Ignore:
Timestamp:
2017-12-22T22:43:25Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1569a9b
Parents:
f04b5b3
git-author:
Jakub Jermar <jakub@…> (2017-12-22 21:47:09)
git-committer:
Jakub Jermar <jakub@…> (2017-12-22 22:43:25)
Message:

Introduce IPC_CALL_AUTO_REPLY call flag

Calls that never make it to userspace due to error are answered by the
kernel and decorated with the newly introduced IPC_CALL_AUTO_REPLY. This
gives the sender a way to reliably figure out that the recipient is
still waiting for the call.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/async.c

    rf04b5b3 ra1026da  
    14961496
    14971497                if (call.cap_handle == CAP_NIL) {
    1498                         if (call.flags == 0) {
    1499                                 /* This neither a notification nor an answer. */
     1498                        if ((call.flags &
     1499                            (IPC_CALL_NOTIF | IPC_CALL_ANSWERED)) == 0) {
     1500                                /* Neither a notification nor an answer. */
    15001501                                handle_expired_timeouts();
    15011502                                continue;
Note: See TracChangeset for help on using the changeset viewer.