History log of /ext-fiber/ (Results 101 – 125 of 294)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
34e933cc29-Dec-2020 Bob Weinand

Fix windows compilation

c0ab608829-Dec-2020 Bob Weinand

Fix build as in-tree component of php-src

abbe8c7e27-Dec-2020 Aaron Piotrowski

Move temp zval assignment

f2abf84827-Dec-2020 Aaron Piotrowski

Increase default stack size

pthreads has a default stack of 8MB, so it seems reasonable to use the same default for a fiber.

Reduced the number of guard pages to a single page. The

Increase default stack size

pthreads has a default stack of 8MB, so it seems reasonable to use the same default for a fiber.

Reduced the number of guard pages to a single page. The PHP VM rarely allocates a large amount of memory at once, and tends to access it in order, so a jumping over a guard region seems unlikely.

show more ...

2eea67d324-Dec-2020 Aaron Piotrowski

Remove execute option from mmap

6777186416-Dec-2020 Aaron Piotrowski

Update readme

c0956f1716-Dec-2020 Aaron Piotrowski

Add isStarted() method to Fiber and ReflectionFiber

45f0b81216-Dec-2020 Aaron Piotrowski

Allow reflecting scheduler before being used

Also renamed ReflectionFiberScheduler::getFiberScheduler() to getScheduler().

beee7e2416-Dec-2020 Aaron Piotrowski

Swap static constructor for regular constructor

f933375315-Dec-2020 Aaron Piotrowski

Add function to check for FiberExit

6224cec213-Dec-2020 Aaron Piotrowski

Minor tweak to initializing EG stack

8ee08e5512-Dec-2020 Aaron Piotrowski

Move stack alloc to function

4ef9ffcf11-Dec-2020 Aaron Piotrowski

Better memory alloc

Allocates fiber object memory in a single alloc and eliminates one indirection.

22d0532c11-Dec-2020 Aaron Piotrowski

Fix GC issue with ReflectionFiberScheduler

64e7cb1409-Dec-2020 Aaron Piotrowski

Another config.m4 fix

47fcdbd306-Dec-2020 Aaron Piotrowski

Refactor suspending

Use Fiber::this() to get the currently executing fiber, then only pass the FiberScheduler to Fiber::suspend().


examples/001-simple.php
examples/002-read-write.php
examples/003-curl.php
examples/004-timer.php
examples/005-multiple-timers.php
examples/007-sockets.php
scripts/Failure.php
scripts/Future.php
scripts/Promise.php
scripts/Success.php
scripts/TimerQueue.php
scripts/functions.php
src/fiber.c
stubs/Fiber.php
tests/001-resume.phpt
tests/002-throw.phpt
tests/003-catch.phpt
tests/004-delay-resume.phpt
tests/005-delay-throw.phpt
tests/006-fiber-scheduler-throw.phpt
tests/007-exception-handler.phpt
tests/008-unresolved.phpt
tests/009-unresolved-with-finally.phpt
tests/010-run-scheduler-on-exit.phpt
tests/011-exiting-scheduler.phpt
tests/012-nested-schedulers.phpt
tests/013-register-shutdown.phpt
tests/014-destruct.phpt
tests/015-destruct-and-register-shutdown.phpt
tests/016-unfinished-fiber.phpt
tests/017-nested-schedulers-2.phpt
tests/018-nested-schedulers-3.phpt
tests/019-wrong-scheduler.phpt
tests/020-unfinished-fiber-with-finally.phpt
tests/021-unfinished-fiber-with-nested-try-catch.phpt
tests/022-unfinished-fiber-in-finally.phpt
tests/023-fiber-without-suspend.phpt
tests/026-unfinished-fiber-with-throw-in-finally.phpt
tests/027-fatal-with-pending-scheduler.phpt
tests/028-fatal-error-in-scheduler.phpt
tests/029-register-shutdown-after-uncaught-exception.phpt
tests/030-destruct-after-uncaught-exception.phpt
tests/031-internal-error-on-fiber-invocation.phpt
tests/032-fiber-run-throwing.phpt
tests/033-fiber-run-throwing-after-suspend.phpt
tests/034-scheduler-throwing-during-shutdown.phpt
tests/035-failure-with-pending.phpt
tests/036-fiber-undefined-method.phpt
tests/037-fiber-create-invalid-argument.phpt
tests/037-new-reflection-fiber-throws.phpt
tests/038-fiber-this-in-scheduler.phpt
tests/038-throwing-suspend-callback.phpt
tests/039-suspend-callback-returning-refcounted.phpt
tests/039-suspend-main-without-resume-path.phpt
tests/040-start-running-fiber.phpt
tests/040-suspend-in-suspend-callback.phpt
tests/041-resume-running-fiber.phpt
tests/042-fatal-error-in-suspend-callback.phpt
tests/042-nested-schedulers-4.phpt
tests/043-fatal-error-in-new-fiber.phpt
tests/044-reflection-fiber-from-continuation.phpt
tests/044-unstarted-fiber.phpt
tests/045-reflection-fiber-from-fiber-scheduler.phpt
tests/046-reflection-fiber-nested.phpt
tests/047-reflection-fiber-get-trace.phpt
tests/048-reflection-fiber-status.phpt
tests/049-reflection-fiber-errors.phpt
tests/050-multiple-schedulers-throwing-on-exit.phpt
tests/051-resume-non-running-fiber.phpt
tests/052-resume-outside-scheduler.phpt
tests/056-nested-schedulers-4.phpt
844ad72c04-Dec-2020 Aaron Piotrowski

Provide FiberScheduler to suspend callback

2bc2ef4704-Dec-2020 Aaron Piotrowski

Add internal API for determining current fiber

181de74202-Dec-2020 Aaron Piotrowski

Fix ZTS compatibility

6403c46802-Dec-2020 Aaron Piotrowski

Shorten config.m4

dfd5e49e29-Nov-2020 Aaron Piotrowski

Update CPU archs

717e4ba129-Nov-2020 Aaron Piotrowski

Add travis build

56a52c5f29-Nov-2020 Aaron Piotrowski

Update boost

b387efff28-Nov-2020 Niklas Keller

Update README.md

7f838e1f26-Nov-2020 Aaron Piotrowski

Split ReflectionFiber into two classes

12345678910>>...12