spawn
This module implements threadpool's spawn
.
Imports
- ast, types, idents, magicsys, msgs, options, modulegraphs, lowerings, liftdestructors, renderer, trees
Types
Procs
proc spawnResult(t: PType; inParallel: bool): TSpawnResult {...}{. raises: [Exception], tags: [RootEffect].}
- Source Edit
proc wrapProcForSpawn(g: ModuleGraph; owner: PSym; spawnExpr: PNode; retType: PType; barrier, dest: PNode = nil): PNode {...}{. raises: [Exception, ValueError, IOError, ERecoverableError], tags: [RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}
- Source Edit
© 2006–2021 Andreas Rumpf
Licensed under the MIT License.
https://nim-lang.org/docs/compiler/spawn.html