Softanza
DémarrerEnglish
Softanza
La bibliothèque se documente elle-même · Programmation système

stzProcess

35 méthodes propres · 2 formes avec extensions, rangées sous leur méthode

la source: base/system/stzProcess.ring(s'ouvre dans un nouvel onglet) · Toutes les classes · La référence du domaine : Programmation système

Sous chaque méthode, ses extensions (Q CS XT Z ZZ IB W U) : en gras et cochée, elle existe ; barrée, elle n'existe pas. Les extensions et leur sens

Aucune méthode de cette classe n'est exécutée sur cette page : la classe touche aux fichiers, au réseau, aux processus, à l'horloge, au hasard ou au son, et un exemple exécuté ici ne serait que l'exemple de ses effets. Chaque méthode porte l'explication que la bibliothèque donne d'elle-même.

Méthode
Explication, telle que la source la porte
init
(sans commentaire dans la source : le nom se lit comme une phrase) initaucune extension
Spawn
EFFECTFUL. Spawning, killing -- the operations a Virtual System twin will later rehearse and gate behind an UpdatePlan. The USAGE CONTRACT (to avoid a pipe deadlock): read the output to EOF, THEN Wait(); keep stderr modest unless you also drain it.QCSXTZZZIBWU
HasChild
TRUE if this object is managing a spawned child.aussi écrite: IsChildaucune extension
ChildPid
The OS process id of the spawned child.aucune extension
ReadOutput
Reads the next available chunk of the child's stdout. Blocks until at least one byte arrives, or returns "" at end of stream. This is the STREAMING read -- call it in a loop.aussi écrite: ReadStdoutaucune extension
ReadOutputAll
Reads the child's stdout to the end, returning all of it.aussi écrite: Outputaucune extension
ReadError
wait / kill)aussi écrite: ReadStderraucune extension
ReadErrorAll
wait / kill)aussi écrite: Erroraucune extension
Wait
Waits for the child to exit and returns its exit code. Idempotent.aucune extension
ExitCode
The exit code after Wait() (Wait() is called for you if you have not).aucune extension
Succeeded
wait / kill)aucune extension
Failed
wait / kill)aucune extension
Kill
EFFECTFUL. Terminates the child now. Returns TRUE on success.aussi écrite: Terminateaucune extension
Close
Frees the child handle. If the child is still running it is killed first, so a dropped handle never leaks a process. Haro has no destructors -- call this when done with a child.QCSXTZZZIBWU
Free
Same as Close: Frees the child handle. If the child is still running it is killed first, so a dropped handle never leaks a process. Haro has no destructors -- call this when done with a child.aucune extension
Id
(sans commentaire dans la source : le nom se lit comme une phrase) idaussi écrite: Pid · ProcessIddans la section this process -- identityaucune extension
Uptime
Seconds since this process started (real monotonic uptime, not epoch wall-clock).aussi écrite: UptimeInSecondsaucune extension
UptimeInMilliseconds
(sans commentaire dans la source : le nom se lit comme une phrase) uptime in millisecondsaussi écrite: UptimeMsdans la section this process -- identityaucune extension
UptimeInNanoseconds
(sans commentaire dans la source : le nom se lit comme une phrase) uptime in nanosecondsaussi écrite: UptimeNsdans la section this process -- identityaucune extension
MemoryBytes
The engine senses (perf P1, stz_perf.dll): what THIS process weighs and computes. Sensing-kind reads, no side effects. Current resident memory (working set), in bytes.aussi écrite: Rssaucune extension
PeakMemoryBytes
The high-water mark: the most memory this process EVER held. A crash-sized leak announces itself here first.aucune extension
CpuTimeNs
CPU time actually computed (user + kernel). Advances only when this process WORKS -- a sleeping process gains uptime but no CPU time. Utilization over a window = delta(cpu) / (delta(uptime) * cores).aucune extension
CpuTimeMs
(sans commentaire dans la source : le nom se lit comme une phrase) cpu time msdans la section this process -- identityaucune extension
EngineArchitecture
The raw engine architecture tag, as Zig names it: "x86_64", "aarch64"...aussi écrite: EngineArchaucune extension
Architecture
The canonical Softanza architecture name: x64 / arm64 / x86 / arm. THE ONE reconciliation seam between Zig's vocabulary and Softanza's.aussi écrite: Archaucune extension
OperatingSystem
The OS tag as the engine reports it: "windows", "linux", "macos"...aussi écrite: OS · OSNameaucune extension
IsLittleEndian
0 = little-endian, 1 = big-endian.aucune extension
IsBigEndian
is the single source)aucune extension
Endianness
is the single source)aucune extension
PointerSize
Native pointer size in BYTES (4 or 8).aussi écrite: PointerSizeInBytesaucune extension
BitSize
Native word size in BITS (32 or 64) -- pointer size * 8. This is the fact stzOperatingSystem.BitSize() should agree with, because both now read the ONE engine source.aussi écrite: WordSizeaucune extension
Is64Bit
is the single source)aucune extension
Is32Bit
is the single source)aucune extension
Info
All the process facts in one named-pair list -- handy for logging or feeding into a knowledge graph.aucune extension
Show
snapshotaucune extension