version 1.309, 2017/07/04 10:28:09
|
version 1.316, 2017/08/04 09:14:59
|
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 92
|
Line 92
|
#include <stdarg.h> |
#include <stdarg.h> |
#include <poll.h> |
#include <poll.h> |
#include <signal.h> |
#include <signal.h> |
|
#include <sys/time.h> |
|
|
#ifndef RPLARGS |
#ifndef RPLARGS |
# include <sys/mman.h> |
# include <sys/mman.h> |
# include <sys/time.h> |
|
# include <sys/resource.h> |
# include <sys/resource.h> |
# include <sys/select.h> |
# include <sys/select.h> |
# include <sys/socket.h> |
# include <sys/socket.h> |
Line 553 union semun
|
Line 553 union semun
|
sem_t *sem_open2(pid_t pid, int ordre); |
sem_t *sem_open2(pid_t pid, int ordre); |
#endif |
#endif |
|
|
__EXTERN__ int affichage_rplso; |
|
|
|
// Le mutex est là uniquement pour pouvoir émuler le comportement |
// Le mutex est là uniquement pour pouvoir émuler le comportement |
// de sem_getvalue() sur un système comme MacOS X qui ne possède pas |
// de sem_getvalue() sur un système comme MacOS X qui ne possède pas |
// cette fonction. |
// cette fonction. |
Line 720 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 |
|
|
|
|
Line 1781 typedef struct instruction_externe
|
Line 1785 typedef struct instruction_externe
|
unsigned char *nom; |
unsigned char *nom; |
unsigned char *nom_bibliotheque; |
unsigned char *nom_bibliotheque; |
void *descripteur_bibliotheque; |
void *descripteur_bibliotheque; |
|
integer8 position_fleche; |
} struct_instruction_externe; |
} struct_instruction_externe; |
|
|
|
|