Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
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 standard library. Public Constant

global_single_threaded

Public Constant
std.Io.Threaded.global_single_threaded
pub const global_single_threaded: *Threaded = &global_single_threaded_instance

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.

File

Io/Threaded.zig:1706
1706
pub const global_single_threaded: *Threaded = &global_single_threaded_instance