Forums - C# Corner

Forum guidelines
sampath meka

sampath meka

  • 1.7k
  • 94
  • 22.9k

Sample on producer and consumer pattern

Feb 13 2019 10:09 PM
Hi All,
 
This is sampath  i need your help to create producer and consumer sample.Actually i will just expalin my scenario
 
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