--- rpl/src/rpl.h 2017/07/30 21:59:41 1.311 +++ rpl/src/rpl.h 2017/08/03 15:13:04 1.314 @@ -1,4 +1,3 @@ -#define DEBUG_ERREURS /* ================================================================================ RPL/2 (R) version 4.1.27 @@ -719,6 +718,12 @@ pid_t debug_fork(); pthread_self(), #mutex, mutex, __FUNCTION__, __LINE__), \ fflush(stdout), \ pthread_mutex_unlock(mutex) +# define pthread_mutex_trylock(mutex) uprintf("[%d-%llu] Mutex %s (%p) " \ + "trylocking at " \ + "%s() line #%d\n", (int) getpid(), (unsigned long long) \ + pthread_self(), #mutex, mutex, __FUNCTION__, __LINE__), \ + fflush(stdout), \ + pthread_mutex_trylock(mutex) #endif @@ -1780,6 +1785,7 @@ typedef struct instruction_externe unsigned char *nom; unsigned char *nom_bibliotheque; void *descripteur_bibliotheque; + integer8 position_fleche; } struct_instruction_externe;