Skip to content

using an intrinsic lock to create and demo a blocking queue

Notifications You must be signed in to change notification settings

yichunzhao/blocking-queue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blocking-queue

using an intrinsic lock to create and demo a blocking queue;

the drawback: when running prducers and cousumers in a thread pool, very soon all threads are blocked and in waiting states. There is no even a thread able to run and notify the rest of threads.

About

using an intrinsic lock to create and demo a blocking queue

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages