Changeset 6ec07e5


Ignore:
Timestamp:
May 8, 2020, 11:53:18 AM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
af7acb9
Parents:
171ca0d
Message:

Improved error messaging in locks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/bits/locks.hfa

    r171ca0d r6ec07e5  
    115115                char * strerror(int);
    116116        }
    117         #define CHECKED(x) { int err = x; if( err != 0 ) abort("KERNEL ERROR: %s\n", strerror(err)); }
     117        #define CHECKED(x) { int err = x; if( err != 0 ) abort("KERNEL ERROR: Operation \"" #x "\" return error %d - %s\n", err, strerror(err)); }
    118118
    119119        struct __bin_sem_t {
Note: See TracChangeset for help on using the changeset viewer.