X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=prodcons%2Fprodcons.c;h=2ff3868e109f8044308d7e8ae2b998ef7b999e75;hb=6b2a29cee63432808e12a0b9a0cd0acfc9cf3976;hp=a533b48ad247254baf5eeb296dc55c1f5f3564de;hpb=66c9107fcb99df4eec36a84db41f78eb946cc224;p=TD_SE.git diff --git a/prodcons/prodcons.c b/prodcons/prodcons.c index a533b48..2ff3868 100644 --- a/prodcons/prodcons.c +++ b/prodcons/prodcons.c @@ -11,6 +11,7 @@ typedef struct args { sem_t sem_busy; } args_t; static int buf[BUF_SIZE]; + void *prod(void *arg); void *cons(void *arg);