39e8dc0c | 27-Oct-2020 |
Aaron Piotrowski |
Ensure FiberExit is thrown when scheduler destroyed |
d3dcea4a | 26-Oct-2020 |
Aaron Piotrowski |
Different cleanup for uncaught exceptions |
636f4c25 | 23-Oct-2020 |
Aaron Piotrowski |
Enforce schedulers running only once |
a7e51d4f | 22-Oct-2020 |
Aaron Piotrowski |
Use HAVE_VALGRIND to toggle valgrind support |
8e7eb4f3 | 22-Oct-2020 |
Aaron Piotrowski |
Refactor some error handling Using FiberExit since it’s uncatchable instead of a couple fatal errors, makes things a little nicer. |
11b6abbf | 20-Oct-2020 |
Aaron Piotrowski |
Fix fatal error handling |
fae4913a | 20-Oct-2020 |
Aaron Piotrowski |
Fix use-after-free in uncaught exception handler |
02ffaf60 | 20-Oct-2020 |
Aaron Piotrowski |
Add test with throw in finally The behavior in this test matches that of a destroyed generator. |
a7eca1f4 | 20-Oct-2020 |
Aaron Piotrowski |
Handle potential ZEND_CATCH opcode handler from another extension |
265f9ead | 20-Oct-2020 |
Aaron Piotrowski |
Properly declare globals for thread safety |
d8986a73 | 20-Oct-2020 |
Aaron Piotrowski |
Make an uncatchable exception by replacing catch opcode This executes finally blocks as expected and is very simple. \o/ |
062f6355 | 19-Oct-2020 |
Aaron Piotrowski |
Revert to throwing UnwindExit Left the code and tests handling finally blocks, we can revisit this later. |
037c56bd | 19-Oct-2020 |
Aaron Piotrowski |
Throw from innermost try/catch |
78326fef | 19-Oct-2020 |
Aaron Piotrowski |
Vary cleanup opline If execution is before catch, move execution to the catch block. |
c470f9c3 | 19-Oct-2020 |
Aaron Piotrowski |
Remove misleading params These functions work with the current EG, so the params were unnecesssary and misleading. |
b711549f | 19-Oct-2020 |
Aaron Piotrowski |
Locally backup EG data |
4b4140b1 | 18-Oct-2020 |
Aaron Piotrowski |
Create zval in Fiber::run() for GC This is required to properly trigger the GC to free the fiber memory. |
74d5a530 | 17-Oct-2020 |
Aaron Piotrowski |
Add failing test Added test output files to .gitignore. |
743200ba | 15-Oct-2020 |
Aaron Piotrowski |
Execute finally blocks in unresumed fibers |
290b8f01 | 17-Oct-2020 |
Aaron Piotrowski |
Do not create zend_object for schedulers The object is unneeded and has been giving me GC headaches from the start. This is so much simplier since I know when to GC the scheduler fiber. |
7b023a48 | 16-Oct-2020 |
Aaron Piotrowski |
GC root fiber |
fcb358b1 | 16-Oct-2020 |
Aaron Piotrowski |
Fix GC efree isn’t correct, but I’m not really sure what is yet… |
6ef0063d | 14-Oct-2020 |
Aaron Piotrowski |
Remove circular reference to GC unresumed fibers |
a0af48bb | 13-Oct-2020 |
Aaron Piotrowski |
Backup jit_trace_num |
c2e218cd | 13-Oct-2020 |
Aaron Piotrowski |
Only destroy on cleanup |