Skip to content

orkhan-huseyn/blocking-queue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blocking Queue Implementation in Java

A blocking queue is defined as a queue which blocks the caller of the enqueue method if there's no more capacity to add the new item being enqueued. Similarly, the queue blocks the dequeue caller if there are no items in the queue. Also, the queue notifies a blocked enqueuing thread when space becomes available and a blocked dequeuing thread when an item becomes available in the queue.

This source code is from Java Multithreading for Senior Engineering Interviews course on Educative.

About

Implementation of a BlockingQueue in Java

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published