blob: 7a091993b01ea968aab8828fdac3f21e1e08e6fb [file] [log] [blame] [raw]
#ifndef _LOCK_H
#define _LOCK_H
/* dummy lock routines for single-threaded aps */
typedef int _lock_t;
typedef int _lock_recursive_t;
#define __LOCK_INIT(class,lock) static int lock = 0;
#define __LOCK_INIT_RECURSIVE(class,lock) static int lock = 0;
#define __lock_init(lock)
#define __lock_init_recursive(lock)
#define __lock_close(lock)
#define __lock_close_recursive(lock)
#define __lock_acquire(lock)
#define __lock_acquire_recursive(lock)
#define __lock_try_acquire(lock)
#define __lock_try_acquire_recursive(lock)
#define __lock_release(lock)
#define __lock_release_recursive(lock)
#define _SIGNAL_LOCK 1
#endif