pub const InitOptions = struct backing_allocator_needs_mutex: bool = truethread_limit: ?usize = nullMaximum thread pool size (excluding the main thread). Defaults to one less than the number of logical CPU cores.
sync_limit: Io.Limit = .unlimitedMaximum number of threads that may perform synchronous syscalls.
log2_ring_entries: u4 = 3argv0: Argv0 = .emptyAffects the following operations:
processExecutablePath on OpenBSD and Haiku.environ: process.Environ = .emptyAffects the following operations:
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809pub const InitOptions = struct {
backing_allocator_needs_mutex: bool = true,
/// Maximum thread pool size (excluding the main thread).
/// Defaults to one less than the number of logical CPU cores.
thread_limit: ?usize = null,
/// Maximum number of threads that may perform synchronous syscalls.
sync_limit: Io.Limit = .unlimited,
log2_ring_entries: u4 = 3,
/// Affects the following operations:
/// * `processExecutablePath` on OpenBSD and Haiku.
argv0: Argv0 = .empty,
/// Affects the following operations:
/// * `fileIsTty`
/// * `processSpawn`, `processSpawnPath`, `processReplace`, `processReplacePath`
environ: process.Environ = .empty,
}