Click here to Skip to main content
15,922,894 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

This is sampath i need your help to create producer and consumer sample.Actually i will just explain my scenario.Please help how to acheive

Example:
first functions reads 1,2,3,4 adds to queue
second function processes if queue contains any data when 1 is added in first function second function picks one from the queue and processes.

Kindly help me how can i acheive in VB .net

Thanks & Regards,
Sampath

What I have tried:

Did not tried anything .I am new to vb .net explore the web but did not find any samples in vb .net
Posted
Updated 13-Feb-19 21:52pm

1 solution

There are thousands of samples on the internet - Google search including vb.net[^]
More generic Google search[^]
The second link is better. Why? Because instead of just providing you with code to copy (which your tutor will mark you down on), it includes general instructions on how to apply the pattern in any language

When you have written some code come back if you get stuck. But I'm sorry, this is not a tutorial forum
 
Share this answer
 

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



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