Expand description
Global runtimes
Macrosยง
- define_
global_ ๐runtime_ spawn - define_
spawn ๐
Structsยง
- Config
Runtimes ๐ - Global
Runtimes ๐ - Runtime
Options - The options for the global runtimes.
Constantsยง
- COMPACT_
WORKERS ๐ - GLOBAL_
WORKERS ๐ - HB_
WORKERS ๐
Staticsยง
- CONFIG_
RUNTIMES ๐ - GLOBAL_
RUNTIMES ๐
Functionsยง
- block_
on_ compact - Run a future to complete in
compact
thread pool. - block_
on_ global - Run a future to complete in
global
thread pool. - block_
on_ hb - Run a future to complete in
hb
thread pool. - compact_
runtime - Returns the global
compact
thread pool. - create_
runtime - global_
runtime - Returns the global
global
thread pool. - hb_
runtime - Returns the global
hb
thread pool. - init_
global_ runtimes - Initialize the global runtimes
- spawn_
blocking_ compact - Run the blocking operation in
compact
thread pool. - spawn_
blocking_ global - Run the blocking operation in
global
thread pool. - spawn_
blocking_ hb - Run the blocking operation in
hb
thread pool. - spawn_
compact - Spawn a future and execute it in
compact
thread pool. - spawn_
global - Spawn a future and execute it in
global
thread pool. - spawn_
hb - Spawn a future and execute it in
hb
thread pool.