History log of /ext-fiber/src/fiber_asm.c (Results 1 – 25 of 31)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 1f333ab9 29-Apr-2021 Aaron Piotrowski

Update based on php-src implementation


# c3d3c83b 13-Apr-2021 Aaron Piotrowski

Allocate error on the stack


# 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


# 9aeb670f 11-Apr-2021 Aaron Piotrowski

make_fcontext aligns pointer

No need to align the stack pointer manually, make_fcontext already does this.


# 108899bf 10-Apr-2021 Aaron Piotrowski

Free context on error


# c4b643e5 09-Apr-2021 Aaron Piotrowski

Few other minor nits


# 04cf1476 08-Apr-2021 Aaron Piotrowski

A few minor fixes and nits


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


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


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

# ce43165f 26-Mar-2021 Aaron Piotrowski

Update boost

Use combined asm on macOS. Fixes #17.

# 721b8d9f 24-Mar-2021 Aaron Piotrowski

Fix line-endings

These files had Windows line-endings.

# fea267f6 22-Mar-2021 Aaron Piotrowski

Adjust stack alignment

[boost.context](https://github.com/boostorg/context/blob/1f955ef26de5e48c26217c423592308f57d1c615/include/boost/context/fiber_fcontext.hpp#L164) says the stack should

Adjust stack alignment

[boost.context](https://github.com/boostorg/context/blob/1f955ef26de5e48c26217c423592308f57d1c615/include/boost/context/fiber_fcontext.hpp#L164) says the stack should be 16-byte aligned.

show more ...

# a683debe 16-Mar-2021 Aaron Piotrowski

Clearer context creation

Better descriptions of pointer calculations.

12