History log of /ext-fiber/ (Results 1 – 25 of 294)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
304e1c1428-Aug-2022 Niklas Keller

Improve warning

ef71596316-Aug-2022 Niklas Keller

Add upgrade hint

118a23e530-Jun-2021 Aaron Piotrowski

Update config CPU checking

ff0c586728-Jun-2021 Aaron Piotrowski

Prevent compiling with PHP 8.1+

c265d9fb28-Jun-2021 Aaron Piotrowski

Implemented Fiber GC handler

Co-authored-by: Martin Schröder <m.schroeder2007@gmail.com>

b5d6a96a20-Jun-2021 Aaron Piotrowski

Rename Fiber::this() to Fiber::getCurrent()

b6fe057c20-Jun-2021 Aaron Piotrowski

ZEND_SECURE_ZERO -> memset

Secure zero is unnecessary.

cd4300ca22-May-2021 Aaron Piotrowski

Allocate fiber stack within try

cfcb53a108-May-2021 Aaron Piotrowski

Catch and repeat zend_bailout in fibers

This removes switching to main for fatal errors in fibers in favor of catching any zend_bailout in a fiber and calling zend_bailout again after switch

Catch and repeat zend_bailout in fibers

This removes switching to main for fatal errors in fibers in favor of catching any zend_bailout in a fiber and calling zend_bailout again after switching to the previous fiber or {main}.

show more ...

3765c7ad05-May-2021 Aaron Piotrowski

Update readme and stubs

8681cd3d05-May-2021 Aaron Piotrowski

Check current_execute_data instead of flags in fiber destructor

Checking EG(current_exectue_data) throws into the previous fiber instead of triggering a fatal error during shutdown. A fatal

Check current_execute_data instead of flags in fiber destructor

Checking EG(current_exectue_data) throws into the previous fiber instead of triggering a fatal error during shutdown. A fatal error is triggered only if the throwing destroyed fiber was resumed from {main}.

show more ...

b66d4db305-May-2021 Aaron Piotrowski

Rethrow exceptions in fiber destructor

We need to make sure that HANDLE_EXCEPTION is set when the fiber
throws during destruction.

Co-Authored-By: Nikita Popov <nikita.ppv@gmail

Rethrow exceptions in fiber destructor

We need to make sure that HANDLE_EXCEPTION is set when the fiber
throws during destruction.

Co-Authored-By: Nikita Popov <nikita.ppv@gmail.com>

show more ...

068e4ea305-May-2021 Aaron Piotrowski

Use EXTENSIONS instead of SKIPIF


tests/backtrace-deep-nesting.phpt
tests/backtrace-nested.phpt
tests/backtrace-object.phpt
tests/catch-then-suspend.phpt
tests/catch.phpt
tests/debug-backtrace.phpt
tests/double-start.phpt
tests/error-reporting.phpt
tests/exit-in-fiber.phpt
tests/failing-fiber.phpt
tests/failing-nested-fiber.phpt
tests/fast-finish-fiber.phpt
tests/fatal-error-in-fiber.phpt
tests/fatal-error-in-nested-fiber.phpt
tests/fatal-error-with-multiple-fibers.phpt
tests/fiber-created-during-cleanup.phpt
tests/fiber-created-in-destruct.phpt
tests/fiber-error-construct.phpt
tests/fiber-in-destruct.phpt
tests/fiber-in-shutdown-function.phpt
tests/fiber-status.phpt
tests/fiber-this.phpt
tests/fiber-throw-in-destruct.phpt
tests/get-return-after-throwing.phpt
tests/get-return-from-unstarted-fiber.phpt
tests/get-return-in-unfinished-fiber.phpt
tests/get-return.phpt
tests/include/skip-if.php
tests/invocable-class.phpt
tests/resume-non-running-fiber.phpt
tests/resume-running-fiber.phpt
tests/resume-terminated-fiber.phpt
tests/resume.phpt
tests/silence-operator-inside-fiber.phpt
tests/silence-operator-outside-fiber.phpt
tests/start-arguments.phpt
tests/suspend-in-force-close-fiber-after-shutdown.phpt
tests/suspend-in-force-close-fiber-catching-exception.phpt
tests/suspend-in-force-close-fiber.phpt
tests/suspend-in-nested-function.phpt
tests/suspend-outside-fiber.phpt
tests/throw-from-destruct-with-fiber.phpt
tests/throw-into-non-running-fiber.phpt
tests/throw.phpt
tests/unfinished-fiber-with-finally.phpt
tests/unfinished-fiber-with-nested-try-catch.phpt
tests/unfinished-fiber-with-suspend-in-finally.phpt
tests/unfinished-fiber-with-throw-in-finally.phpt
tests/unfinished-fiber.phpt
tests/unstarted-fiber.phpt
10a354d301-May-2021 Aaron Piotrowski

Improve fiber backtraces

ea40a19701-May-2021 Aaron Piotrowski

Fix exception thrown during fiber destruct

ecdfcd2029-Apr-2021 Aaron Piotrowski

Use NULL for default stack size

676413a529-Apr-2021 Aaron Piotrowski

Add missed define

1f333ab929-Apr-2021 Aaron Piotrowski

Update based on php-src implementation


config.m4
fiber.h
fiber.stub.php
fiber_arginfo.h
php_fiber.h
src/fiber.c
src/fiber_asm.c
src/fiber_stack.c
src/php_fiber.c
tests/016-reflection-fiber.phpt
tests/017-reflection-fiber-errors.phpt
tests/032-suspend-in-force-close-fiber.phpt
tests/033-suspend-in-force-close-fiber-after-shutdown.phpt
tests/catch-then-suspend.phpt
tests/catch.phpt
tests/double-start.phpt
tests/error-reporting.phpt
tests/exit-in-fiber.phpt
tests/failing-fiber.phpt
tests/fast-finish-fiber.phpt
tests/fatal-error-in-fiber.phpt
tests/fatal-error-in-nested-fiber.phpt
tests/fatal-error-with-multiple-fibers.phpt
tests/fiber-created-during-cleanup.phpt
tests/fiber-created-in-destruct.phpt
tests/fiber-error-construct.phpt
tests/fiber-in-destruct.phpt
tests/fiber-in-shutdown-function.phpt
tests/fiber-status.phpt
tests/fiber-this.phpt
tests/fiber-throw-in-destruct.phpt
tests/get-return-after-throwing.phpt
tests/get-return-from-unstarted-fiber.phpt
tests/get-return-in-unfinished-fiber.phpt
tests/get-return.phpt
tests/invocable-class.phpt
tests/resume-non-running-fiber.phpt
tests/resume-running-fiber.phpt
tests/resume-terminated-fiber.phpt
tests/resume.phpt
tests/silence-operator-inside-fiber.phpt
tests/silence-operator-outside-fiber.phpt
tests/start-arguments.phpt
tests/suspend-in-force-close-fiber-after-shutdown.phpt
tests/suspend-in-force-close-fiber.phpt
tests/suspend-in-nested-function.phpt
tests/suspend-outside-fiber.phpt
tests/throw-from-destruct-with-fiber.phpt
tests/throw-into-non-running-fiber.phpt
tests/throw.phpt
tests/unfinished-fiber-with-finally.phpt
tests/unfinished-fiber-with-nested-try-catch.phpt
tests/unfinished-fiber-with-suspend-in-finally.phpt
tests/unfinished-fiber-with-throw-in-finally.phpt
tests/unfinished-fiber.phpt
tests/unstarted-fiber.phpt
bfc304bc15-Apr-2021 Aaron Piotrowski

Generate arginfo from stubs

c3d3c83b13-Apr-2021 Aaron Piotrowski

Allocate error on the stack

06275ce712-Apr-2021 Aaron Piotrowski

Add more tests

367d225412-Apr-2021 Aaron Piotrowski

Revert context return

On second thought, this wasn’t actually useful.

b57fe3a112-Apr-2021 Aaron Piotrowski

Remove fcontext_t and transfer_t from fiber.h

We don’t really want to define these outside of fiber_asm.c.

e5ec548811-Apr-2021 Aaron Piotrowski

Use preallocated context

Removed just-added data pointer as this approach makes it unnecessary.

f086534e11-Apr-2021 Aaron Piotrowski

Provide fiber context to and from internal API functions

12345678910>>...12