File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ 0.5.0] - 2025-10-31
99
10+ ### Added
11+ - ** TrueAsync API** : Added ` ZEND_ASYNC_SCHEDULER_LAUNCH() ` macro for scheduler initialization
12+
1013### Changed
1114- ** Deadlock Detection** : Replaced warnings with structured exception handling
1215 - Deadlock detection now throws ` Async\DeadlockError ` exception instead of multiple warnings
13- - ** Breaking Change** : Applications relying on deadlock warnings
16+ - ** Breaking Change** : Applications relying on deadlock warnings
1417 will need to be updated to catch ` Async\DeadlockError ` exceptions
1518
1619## [ 0.4.0] - 2025-09-30
Original file line number Diff line number Diff line change @@ -1124,6 +1124,7 @@ void async_api_register(void)
11241124{
11251125 zend_async_scheduler_register (PHP_ASYNC_NAME_VERSION ,
11261126 false,
1127+ async_scheduler_launch ,
11271128 async_new_coroutine ,
11281129 async_new_scope ,
11291130 (zend_async_new_context_t ) async_context_new ,
Original file line number Diff line number Diff line change @@ -747,7 +747,7 @@ bool async_scheduler_launch(void)
747747 return false;
748748 }
749749
750- if (EG (active_fiber )) {
750+ if (UNEXPECTED ( EG (active_fiber ) )) {
751751 async_throw_error ("The True Async Scheduler cannot be started from within a Fiber" );
752752 return false;
753753 }
You can’t perform that action at this time.
0 commit comments