producer-consumer
C++ Producer consumer queue with (very) fast and reliable handover
Hi I am looking into having thread handover using a fast and reliable producer consumer queue. I am working on Windows with VC++.[详细]
2023-03-25 23:23 分类:问答Fast C++ single producer single consumer implementation
I\'m looking for a single-producer, single-consumer FIFO implementation that would perform faster than the normal lock-write-unlock-signal / waitForSignal-lock-read-unlock stuff.I\'m looking for somet[详细]
2023-03-19 07:15 分类:问答Job queue as SQL table with multiple consumers (PostgreSQL)
I have a typical producer-consumer problem: Multiple producer applications write job requests to a job-table on a PostgreSQL database.[详细]
2023-03-15 18:37 分类:问答How to do recursive search of Folders & Files using producer/consumer queues?
I would like to search first for directory then the files inside it, for a keyword. I know I need two classes, Producer class & Consumer class, but i do not know how to search using by c# produce[详细]
2023-03-12 06:41 分类:问答Shouldn't this fail without the use of locking? Simple producer consumer
I have a queue, a list with producer threads and a list with consumer threads. My code looks like this[详细]
2023-03-10 00:50 分类:问答Java Threads Producer Consumer Algorithm not working properly
I am trying to learn threads and hence I wrote a sample producer consumer problem wherein the producer produces numbers from 1 to 10 and the consumer has to display them. But only the consumer display[详细]
2023-03-09 18:49 分类:问答How to know who is connected to a Tibco EMS Queue
We are using a Tibco EMS Queue to send messages. We are the publisher. Whenever we are pu开发者_如何学JAVAblishing messages it seems someone is consuming that. When we asked the other team who is subs[详细]
2023-03-09 18:29 分类:问答How do I implement a Rails push notification service consumer over XML/HTTP?
I\'m trying to write an XML over HTTP push notification consumer that accepts the push notifications and parses the XML and saves the data in the database. I\'ve looked at the Nokogiri gem which is a[详细]
2023-03-07 03:51 分类:问答What is the easiest way to pause Consumer in P-C pattern?
I have typical producer-consumer application. I have BlockingCollection to provide producing-consuming mechanism. What I need is to add ability to pause consumer thread execution fr开发者_如何学JAVAom[详细]
2023-03-06 03:21 分类:问答producer-consumer with a resource
I\'m trying to implement the producer/consumer pattern with a set of resources, so each thread has one resource associated with it. For example, I may have a queue of tasks where each task requires a[详细]
2023-03-05 17:52 分类:问答