AuroraRuntime/Include/Aurora/Processes
Jamie Reece Wilson 83f34b0c47 [*] I was right. String views are [mostly] pointless (*)
03:28:55:638  17>2 of 53388 functions (<0.1%) were compiled, the rest were copied from previous compilation.
03:28:55:638  17>  0 functions were new in current compilation
03:28:55:638  17>  65 functions had inline decision re-evaluated but remain unchanged
03:28:56:749  17>Finished generating code

the header of const AuString & is the same as std::string_view therefore nothing changes. in fact, we still need to alloc strings a bunch of times for a zero terminated string. worse, <c++20 always allocs each time we want to access a hashmap with o(1) lookup, making small hashmaps kinda pointless when we always have to alloc+copy (thx std)

perhaps this will help some language binders
2024-04-19 05:58:08 +01:00
..
ESpawnType.hpp [*/+/-] MEGA COMMIT. ~2 weeks compressed. 2022-02-17 00:11:40 +00:00
EStandardHandle.hpp [-] AuProcesses::EStandardHandle 2023-09-15 15:55:46 +01:00
EStreamForward.hpp [+] AuProcesses::StartupParameters::environmentVariables 2023-08-20 23:58:32 +01:00
IProcess.hpp [*] Shared user data between ICompletionGroupWorkHandle and IAsyncTransaction 2024-02-24 22:15:20 +00:00
Open.hpp [*] I was right. String views are [mostly] pointless (*) 2024-04-19 05:58:08 +01:00
OutputOf.hpp [*] Shared user data between ICompletionGroupWorkHandle and IAsyncTransaction 2024-02-24 22:15:20 +00:00
Processes.hpp [+] AuProcesses::RunAs 2023-12-28 21:00:07 +00:00
README.md [+] EPipeCallbackType 2022-06-21 05:49:36 +01:00
RunAs.hpp [+] AuProcesses::RunAs 2023-12-28 21:00:07 +00:00
Spawn.hpp [+] AuProcesses::StartupParameters::environmentVariables 2023-08-20 23:58:32 +01:00
StartupParameters.hpp [*] Improve AuProcesses CompletionGroup integration 2024-03-05 21:52:52 +00:00

AuProcesses

Example Usage: HelloAurora/master/Tests/Public/11. Hello Processes/Main.cpp

Aurora Processes allows you to spawn, ipc, terminate, and synchronize against spawnable daemons and worker processes. AuIO is integrated such that IProcess objects provide IAsyncTransactions for reading or writing to a standard in/out/error stream; and AuLoop interoperability is provided by providing two signalable loop source indicating [!]liveliness of the process.

Features

  • exec overmap
  • daemon workers
  • child workers
  • Simple StartupParmaters to define the environment by which the process operates
  • OpenFile
  • OpenUri