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. Private Variable
The main motivation for the size chosen here is to be larger than total amount of thread-local variables for most programs. Putting this allocation in the ELF like this is equivalent to moving the mmap call below into the kernel, avoiding syscall overhead.
The main motivation for the size chosen here is to be larger than total amount of thread-local variables for most programs. Putting this allocation in the ELF like this is equivalent to moving the
mmapcall below into the kernel, avoiding syscall overhead.