Click here to Skip to main content
15,942,847 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm not clear on the operation of the producer consumer queue threading logic. Here's my question: If the producer sends a task to the worker thread and while the worker thread is performing the task if the producer has a new task for the worker will it (producer) send the task to the worker thread even if the worker thread has not completed the first task?
Posted

I like the following article about threading in C#:
Threading in C#[^]

I know that there is a lot of information and probably you are expecting the direct answer to your question but I'm pretty sure that after learning this article you will have no question about Threading :)
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900