Added rand() to producer

This commit is contained in:
2022-10-12 21:11:15 -05:00
parent 1b31acc926
commit e8f6618df6
10 changed files with 29 additions and 13 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef CONSUMER_H
#define CONSUMER_H
void Consumer(void);
void* Consumer(void* arg);
void consume_item(long int item);
long int remove_item(void);
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef PRODUCER_H
#define PRODUCER_H
void Producer(void);
void* Producer(void* arg);
long int produce_item(void);
void insert_item(long int item);