Ignore:
Timestamp:
Jul 13, 2017, 11:01:58 AM (7 years ago)
Author:
meunier
Message:
  • Mise à jour NR2 et Rosenfeld
File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/applications/rosenfeld/nrc2/include/nrc_os_config.h

    r821 r826  
    55
    66#if TARGET_OS == GIETVM
     7    #define tokenize(x) #x
    78    #define printf(...)  giet_tty_printf(__VA_ARGS__)
     9    #define assert(x)    giet_pthread_assert(x, "Assert failed.")
    810
    911    #define open(x, y)         giet_fat_open(x, y)
     
    2022    #define pthread_spin_unlock(x)      lock_release(x)
    2123    #define pthread_spin_init(x, y)     lock_init(x)
    22     #define pthread_mutexlock_t         user_lock_t
     24    #define pthread_mutex_t             user_lock_t
    2325    #define pthread_mutex_lock(x)       lock_acquire(x)
    2426    #define pthread_mutex_unlock(x)     lock_release(x)
Note: See TracChangeset for help on using the changeset viewer.