DoxigAlpha

lockStderrWriter

Allows the caller to freely write to the returned Writer, initialized with buffer, until unlockStderrWriter is called.

During the lock, any std.Progress information is cleared from the terminal.

The lock is recursive; the same thread may hold the lock multiple times.

Function parameters

Parameters

#
buffer:[]u8

Type definitions in this namespace

Types

#
Node
Represents one unit of progress.

Initializes a global Progress instance.

Functions

#
start
Initializes a global Progress instance.
lockStdErr
Allows the caller to freely write to stderr until `unlockStdErr` is called.
lockStderrWriter
Allows the caller to freely write to the returned `Writer`,

= switch (builtin.os.tag) { .wasi, .freestanding, .windows => false, else => true, }

Values

#
have_ipc
= switch (builtin.os.tag) { .wasi, .freestanding, .windows => false, else => true, }

Source

Implementation

#