#include <unistd.h>
+#include <pthread.h>
+#include <stdlib.h>
#include <stdio.h>
#include <semaphore.h>
int main()
{
-
+ pthread_t t1, t2;
+ sem_init(&mutex, 0, 0);
+ sem_init(&redact, 0, 0);
+ pthread_create(&t1, NULL, redacteur, NULL);
+ pthread_create(&t2, NULL, lecteur, NULL);
+ pthread_join(t1, NULL);
+ pthread_join(t2, NULL);
+ printf("exit\n");
+ return EXIT_SUCCESS;
}