Commit Graph

12 Commits (master)

Author SHA1 Message Date
Daniel Kolesa 256a35697a move directory range structural details into implementation 2018-12-02 03:24:52 +01:00
Daniel Kolesa 493f31fabf make coroutines immovable (moving invalidates inside pointers)
If you move a coroutine, all references to the coroutine from
inside of it become invalid, including e.g. yielders. Therefore,
make coroutines immovable to prevent weird bugs...

but also, make the guts of coroutine context a bit more move
friendly (like, do not change current status after context switch
and always do it outside), in case a solution is found in the
future.
2018-04-21 22:39:07 +02:00
Daniel Kolesa 4ef512effa add a range to iterate a directory 2018-04-15 23:23:43 +02:00
Daniel Kolesa 07ea93ba68 potentially reduce more copies in win32 process code 2017-05-13 19:52:19 +02:00
Daniel Kolesa 45c8450209 envvar support in subprocess 2017-05-13 18:36:40 +02:00
Daniel Kolesa 2fc506d1bb fewer temporary allocations in subprocess 2017-05-13 17:02:39 +02:00
Daniel Kolesa 628cede1eb minor cleanup 2017-05-13 00:53:51 +02:00
Daniel Kolesa b5624dc6b9 terminate child processes on parent process exit on windows 2017-05-13 00:43:32 +02:00
Daniel Kolesa 06687881c1 implement subprocess detach and validity checks 2017-05-13 00:00:44 +02:00
Daniel Kolesa 5bbee30f6c simplify windows process code 2017-05-12 23:47:25 +02:00
Daniel Kolesa 005485f6a6 rename to subprocess_stream/error 2017-05-11 23:57:04 +02:00
Daniel Kolesa 10caf39244 split win32 and posix code of context_stack and process into separate files 2017-05-10 00:30:23 +02:00