PreviousUpNext

13.4.36  hostthread

The standard library hostthread package implements access to runtime functionality allowing Mythryl-level access to Posix threads. Since in general multiple kernel threads run on multiple cores on modern multicore chips, this potentially provides processing speedups via parallel computation.

The current garbage collector is single-threaded, so linear speedups are not to be expected, but a speedup of 3X on a six-core machine is achievable.

The hostthread package implements the Hostthread api.

The hostthread package source code is in src/lib/std/src/hostthread.pkg.

See also: winix_file_io_mutex. The above information is manually maintained and may contain errors.

Hostthread

Comments and suggestions to: bugs@mythryl.org

PreviousUpNext