Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.71K
~2K People Reached
Favorite Forums
Favorite Tags
1 Posted Topic
[CODE]#include <stdlib.h> #include <pthread.h> #include <sys/time.h> #include <iostream> #include <stdio.h> #include <list> using namespace std; int producerThreadCount, consumerThreadCount, totalProductCount, sizeOfQueue, schedulingAlgorithm, quantumValue, seed; struct thread_data{ int thread_number; char *thread_type; }; struct thread_data *producer, *consumer; struct product{ int id; int life; struct timeval timestamp; }; list<struct product> productQueue; int insertProductCount = …
The End.
funter