You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can create 2 runnables one for producer and the other for consumer, both they have a while loop to the call function (put -> prod and take -> cons) of the same instance from Blocking List