Changeset be34d6f in mainline


Ignore:
Timestamp:
2018-09-01T01:48:03Z (5 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a3c6a85
Parents:
58e7b26
Message:

Fix regression from commit 498ced18

due to which any fault or abort would start an endless chain
of crashing taskdumps.

File:
1 edited

Legend:

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

    r58e7b26 rbe34d6f  
    751751        fibril_mutex_lock(&async_sess_mutex);
    752752
    753         assert(sess->exchanges == 0);
     753        if (sess->exchanges > 0) {
     754                fibril_mutex_unlock(&async_sess_mutex);
     755                return EBUSY;
     756        }
    754757
    755758        errno_t rc = async_hangup_internal(sess->phone);
Note: See TracChangeset for help on using the changeset viewer.