Portable standard facades for byte text, environment, timers, randomness, mapped files, streams, worker pools, directory trees and threads; full ASCII lowercase in std/unicode; examples move to examples/ with generated site pages; Go output handles mixed-width slice bounds.
7 lines
202 B
Ziran
7 lines
202 B
Ziran
// One portable native-thread API. POSIX targets use pthreads; native Win64
|
|
#if #defined(_WIN32) {
|
|
using Platform :: #import "thread_windows"
|
|
} else {
|
|
using Platform :: #import "thread_linux"
|
|
}
|