History log of /ext-fiber/src/php_fiber.c (Results 1 – 25 of 27)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# b6fe057c 20-Jun-2021 Aaron Piotrowski

ZEND_SECURE_ZERO -> memset

Secure zero is unnecessary.


# cfcb53a1 08-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 ...


# ecdfcd20 29-Apr-2021 Aaron Piotrowski

Use NULL for default stack size


# 1f333ab9 29-Apr-2021 Aaron Piotrowski

Update based on php-src implementation


# aa550aa5 11-Apr-2021 Aaron Piotrowski

Add guard pages to stack size setting


# c4b643e5 09-Apr-2021 Aaron Piotrowski

Few other minor nits


# 575c8d42 28-Mar-2021 Aaron Piotrowski

Update file header

Thanks to Martin Schröder for the original code and inspiration, but I should be the main contact for questions and maintance of this code. Very little of the original cod

Update file header

Thanks to Martin Schröder for the original code and inspiration, but I should be the main contact for questions and maintance of this code. Very little of the original code remains unchanged.

show more ...


# 770ed753 28-Mar-2021 Aaron Piotrowski

Update file header

Thanks to Martin Schröder for the original code and inspiration, but I should be the main contact for questions and maintance of this code. Very little of the original cod

Update file header

Thanks to Martin Schröder for the original code and inspiration, but I should be the main contact for questions and maintance of this code. Very little of the original code remains unchanged.

show more ...

# 6f250953 27-Mar-2021 Aaron Piotrowski

Remove indirection for fiber context

Since asm is always used, zend_fiber_context can be defined as a struct instead of a void*.

# 375d6715 07-Feb-2021 Aaron Piotrowski

Restore Fiber::this()

Plus cleaned up some now unnecessary code.

# cfc89af3 04-Jan-2021 Aaron Piotrowski

NULL root and current fiber on startup

Fixes #7.

# 181de742 02-Dec-2020 Aaron Piotrowski

Fix ZTS compatibility

# 00432b13 20-Nov-2020 Aaron Piotrowski

Restore error observer due to RC5 changes

# 395bf3f6 09-Nov-2020 Aaron Piotrowski

Remove unnecessary error observer

This was made unnecessary by the change in zend_fiber_observer_end to skip finishing schedulers if EG(exception) is not null.

# a7419abb 30-Oct-2020 Aaron Piotrowski

Forbid awaiting after shutdown

# d30b8a13 28-Oct-2020 Aaron Piotrowski

Cleanup fatal error / shutdown flags

# 636f4c25 23-Oct-2020 Aaron Piotrowski

Enforce schedulers running only once

# 265f9ead 20-Oct-2020 Aaron Piotrowski

Properly declare globals for thread safety

# 31589c07 12-Oct-2020 Aaron Piotrowski

Call schedulers on script end, but only if there is no fatal error

# 51435d10 09-Oct-2020 Aaron Piotrowski

Push scheduler shutdown after destructors and registered shutdown functions

# 45003b5e 19-Sep-2020 Aaron Piotrowski

Use new observer API for finishing schedulers

# 4142f74d 14-Sep-2020 Aaron Piotrowski

Put Future definition in fiber.c

# a3df1825 12-Sep-2020 Aaron Piotrowski

Add Future interface

# a4c57c88 08-Sep-2020 Aaron Piotrowski

Fix spaces vs. tabs

# 0732a160 07-Sep-2020 Aaron Piotrowski

Use ini entry for stack size

12