Changeset 52d2603 in mainline


Ignore:
Timestamp:
2012-12-04T17:38:53Z (11 years ago)
Author:
Adam Hraska <adam.hraska+hos@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
af5dfa5b
Parents:
cdbcf14
Message:

Fix: added missing unlock of ipc futex when memory is scarce.

File:
1 edited

Legend:

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

    rcdbcf14 r52d2603  
    226226                if (!call) {
    227227                        call = ipc_prepare_async(private, callback);
    228                         if (!call)
     228                        if (!call) {
     229                                futex_unlock(&ipc_futex);
    229230                                return;
     231                        }
    230232                }
    231233               
Note: See TracChangeset for help on using the changeset viewer.