14 lines
234 B
C
14 lines
234 B
C
|
#include "pthread.h"
|
||
|
#include "stdio.h"
|
||
|
#include "stdlib.h"
|
||
|
|
||
|
|
||
|
void* consumer();
|
||
|
void producer();
|
||
|
void end_program();
|
||
|
|
||
|
void print_mutex(char*, char*);
|
||
|
void print_count();
|
||
|
void print_signal(char*, char*);
|
||
|
void print_wait(char*, char*);
|