Module librsnek::system [] [src]

Primitive type aliases for the concrete backing types, concurrency, and interfaces to the

Modules

exit
primitives

Type aliases and rust defined types used to back the higher level objects

rc

Configure the type of reference counts through compile time feature flags.

thread

Where the magic happens...

Structs

GreenThread

Wrapper around a sharable function pointer that can be used as the

Pthread

Regular system thread

SharedMainFnRef

Wrapper around the MainFnRef so we have an owned

StrongRc

A single-threaded reference-counting pointer.

WeakRc

Weak is a version of [Rc] that holds a non-owning reference to the

Enums

ExitCode

Exit codes for the main interpreter loops

ThreadModel

Optimistic definitions pf supported threading models

Constants

RECURSION_LIMIT

The maximum number of call frames allowed before a RecursionError

Traits

Thread

Thread lifecycle traits

Type Definitions

Argv

The totally standard args string vector

MainFn

Alias for a function pointer to the main function

MainFnRef

Reference of MainFn