scoop:scoop.concurrent:0.1.0
scoop.concurrent
API
-
class
AsyncConditionVariable
A condition associated with one mutex. Always test the protected predicate in a loop.
-
class
AsyncMutex
A non-reentrant FIFO mutex whose ownership may move between managed threads.
-
class
AsyncMutexGuard
Shared ownership state for a single acquisition; disposal is idempotent after release.
-
class
BlockingPoolBuilder
Configuration shared by executor and I/O runtime builders.
-
class
BlockingTaskPool
A fixed managed thread pool for ordinary blocking work, including GC-managed closures.
-
class
Channel
A FIFO MPMC channel. Zero capacity requires a rendezvous with a receiver.
-
class
ChannelClosedException
The channel no longer accepts messages, or has closed and drained.
-
interface
CoroutineWorkerDriver
Connects an owned I/O reactor to one coroutine worker without a second scheduler.
-
class
ExecutorBuilder
Configures a fixed coroutine executor and its owned or borrowed blocking pool.
-
class
MultiThreadExecutor
Runs coroutine work on fixed managed workers and blocking work on a separate pool.
-
enum
TryReceiveResult
A received message, a temporarily empty channel, or a drained closed channel.
-
enum
TrySendResult
The result of a non-suspending send attempt.
-
function
multiThreadExecutor
Creates workers immediately from a single immutable snapshot of the receiver builder.