History log of /ext-fiber/fiber.h (Results 1 – 23 of 23)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 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 ...


# 10a354d3 01-May-2021 Aaron Piotrowski

Improve fiber backtraces


# 1f333ab9 29-Apr-2021 Aaron Piotrowski

Update based on php-src implementation


# 367d2254 12-Apr-2021 Aaron Piotrowski

Revert context return

On second thought, this wasn’t actually useful.


# b57fe3a1 12-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.


# e5ec5488 11-Apr-2021 Aaron Piotrowski

Use preallocated context

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


# f086534e 11-Apr-2021 Aaron Piotrowski

Provide fiber context to and from internal API functions


# c4b643e5 09-Apr-2021 Aaron Piotrowski

Few other minor nits


# 04cf1476 08-Apr-2021 Aaron Piotrowski

A few minor fixes and nits


# 89d365db 02-Apr-2021 Aaron Piotrowski

Switch to {main} for fatal errors


# a89a209b 29-Mar-2021 Aaron Piotrowski

Minor stylistic changes


# 45143f6e 29-Mar-2021 Aaron Piotrowski

Combine create and initialize context functions

zend_fiber_create_context had been reduced to a malloc function and felt unnecessary.


# d482635b 28-Mar-2021 Aaron Piotrowski

Remove stack_size property

Accessable through fiber->context->stack.size.


# 301e5c26 28-Mar-2021 Aaron Piotrowski

Remove initialized flag


# 54eeb4b5 28-Mar-2021 Aaron Piotrowski

Remove root context


# 9e8d1f48 28-Mar-2021 Aaron Piotrowski

Remove initial jump/suspend


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


# 6ba37d9f 28-Mar-2021 Aaron Piotrowski

Remove stack_size property

Accessable through fiber->context->stack.size.

# 021842b0 28-Mar-2021 Aaron Piotrowski

Remove initialized flag

# dd9ee68d 28-Mar-2021 Aaron Piotrowski

Remove root context

# 29ffa248 28-Mar-2021 Aaron Piotrowski

Remove initial jump/suspend

# 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*.