version 1.313, 2017/07/31 12:03:30
|
version 1.315, 2017/08/03 17:17:50
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.1.27 |
RPL/2 (R) version 4.1.28 |
Copyright (C) 1989-2017 Dr. BERTRAND Joël |
Copyright (C) 1989-2017 Dr. BERTRAND Joël |
|
|
This file is part of RPL/2. |
This file is part of RPL/2. |
Line 718 pid_t debug_fork();
|
Line 718 pid_t debug_fork();
|
pthread_self(), #mutex, mutex, __FUNCTION__, __LINE__), \ |
pthread_self(), #mutex, mutex, __FUNCTION__, __LINE__), \ |
fflush(stdout), \ |
fflush(stdout), \ |
pthread_mutex_unlock(mutex) |
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 |
#endif |
|
|
|
|