Added rand() to producer
This commit is contained in:
+1
-1
@@ -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
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user