Lumiera  0.pre.03
»edit your freedom«
lockerror.h File Reference

Go to the source code of this file.

Description

definitions and declarations for error-handling on low-level locking

Definition in file lockerror.h.

#include "lib/error.h"

Functions

 LUMIERA_ERROR_DECLARE (LOCK_ACQUIRE)
 
 LUMIERA_ERROR_DECLARE (LOCK_RELEASE)
 
 LUMIERA_ERROR_DECLARE (LOCK_DESTROY)
 
 LUMIERA_ERROR_DECLARE (LOCK_INVAL)
 
 LUMIERA_ERROR_DECLARE (LOCK_BUSY)
 
 LUMIERA_ERROR_DECLARE (LOCK_DEADLK)
 
 LUMIERA_ERROR_DECLARE (LOCK_PERM)
 
 LUMIERA_ERROR_DECLARE (LOCK_TIMEOUT)
 
 LUMIERA_ERROR_DECLARE (LOCK_AGAIN)
 
void lumiera_lockerror_set (int err, struct nobug_flag *flag, const struct nobug_context ctx)
 Translate pthread error code into lumiera error.