version 1.11, 2010/07/14 14:19:34
|
version 1.12, 2010/08/06 15:26:45
|
Line 20
|
Line 20
|
*/ |
*/ |
|
|
|
|
#include "rpl.conv.h" |
#include "rpl-conv.h" |
|
|
|
|
/* |
/* |
Line 85 fusible(void *argument)
|
Line 85 fusible(void *argument)
|
temporisation.tv_sec = 0; |
temporisation.tv_sec = 0; |
temporisation.tv_nsec = 100000000; // un dixième de seconde |
temporisation.tv_nsec = 100000000; // un dixième de seconde |
|
|
|
# ifndef OS2 |
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); |
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); |
|
# endif |
|
|
getrusage(RUSAGE_SELF, &s_rusage); |
getrusage(RUSAGE_SELF, &s_rusage); |
temps_cpu_courant = s_rusage.ru_utime.tv_sec + |
temps_cpu_courant = s_rusage.ru_utime.tv_sec + |