5 Topics

Member Avatar for
Member Avatar for marc.punzirudu

ok, im working on an assignment implementing a circular queue (fixed size 15), shared memory, normal producer consumer problem, using three semaphores (one for the queue and one for each process). The objective is to have the producer put the characters from mytest.dat (max 150 chars) into a circular queue, …

Member Avatar for marc.punzirudu
0
2K
Member Avatar for CPT

i've just started learning the C# language and this is my first program to use threads. I don't understand why the consumer thread doesn't get called( only after the producer has stopped)and when it gets called it doesn't consume anything, also I've noticed that the majority of produced elements are …

0
181
Member Avatar for vavazoom

I'm working on a project that utilizes producers and consumers for an operating systems class. Each producer and each consumer will be its own thread. The producers will generate records that will be stored in a global buffer, in which the consumer will then access to use the data. I …

Member Avatar for mike_2000_17
0
271
Member Avatar for AndreyW

Hi all, I suggest you to advertise your business fast and simple. You can suggest your business website or related article to us and this may generate for your site real visitors and potential customers, respectively. The websites, where you can use this option are: - for direct service realizers, …

Member Avatar for InsightsDigital
-1
203
Member Avatar for Ajantis

Hey there good folks! :) I am working on a thread task called, Lab Alarm, and I am nearly done with it. We're suppoosed to work with the "producer-consumer" problem and It's just teacher code that one is supposed to modify and add some own to it. Now, I am …

Member Avatar for quuba
0
163

The End.