- Timestamp:
- Jul 13, 2017, 11:01:58 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/applications/rosenfeld/nrc2/include/nrc_os_config.h
r821 r826 5 5 6 6 #if TARGET_OS == GIETVM 7 #define tokenize(x) #x 7 8 #define printf(...) giet_tty_printf(__VA_ARGS__) 9 #define assert(x) giet_pthread_assert(x, "Assert failed.") 8 10 9 11 #define open(x, y) giet_fat_open(x, y) … … 20 22 #define pthread_spin_unlock(x) lock_release(x) 21 23 #define pthread_spin_init(x, y) lock_init(x) 22 #define pthread_mutex lock_tuser_lock_t24 #define pthread_mutex_t user_lock_t 23 25 #define pthread_mutex_lock(x) lock_acquire(x) 24 26 #define pthread_mutex_unlock(x) lock_release(x)
Note: See TracChangeset
for help on using the changeset viewer.