Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
We need to add IgniteSemaphore data structure in addition to other data structures provided by Ignite. IgniteSemaphore should have similar API to java.util.concurrent.IgniteSemaphore class in JDK.
As an example, you can see how IgniteCountDownLatch is implemented in GridCacheCountDownLatchImpl class.
In general we need to have an entity in ATOMIC cache storing number of permits and allow user threads to block whenever no more permits are available.
Attachments
Issue Links
- links to