Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

global_single_threaded

In general, the application is responsible for choosing the Io implementation and library code should accept an Io parameter rather than accessing this declaration. Most code should avoid referencing this declaration entirely.

However, in some cases such as debugging, it is desirable to hardcode a reference to this Io implementation.

This instance does not support concurrency or cancelation.

Threaded.global_single_threaded
pub const global_single_threaded: *Threaded = &global_single_threaded_instance

File

lib/std/Io/Threaded.zig:1705

Code

pub const global_single_threaded: *Threaded = &global_single_threaded_instance