api
threadpool.ch
Declarations in threadpool.ch
1 declarationsstd
Declarations
Public only
std#
Publicnamespace
namespace std
concurrent#
Publicnamespace
namespace concurrent
sleep_ms#
Publicfunction
func sleep_ms(ms : ulong) : void
Thread#
Publicstruct
Promise#
Publicstruct
Future#
Publicstruct
Task#
Publicstruct
worker_main#
function
func worker_main(arg : *void) : *void
PoolData#
Publicstruct
ThreadPool#
Publicstruct
just a wrapper around pool data that automatically
submit#
Publicfunction
submit_void#
Publicfunction
delete#
Publicfunction
func delete(self : &ThreadPool) : void
create_pool#
Publicfunction
func create_pool(n : uint) : ThreadPool