Skip to content

Commit def82b4

Browse files
committed
* fix ZEND_ASYNC_INITIALIZE issue
1 parent a0ed682 commit def82b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_async_API.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,7 @@ END_EXTERN_C()
936936
#define ZEND_ASYNC_OFF (ZEND_ASYNC_G(state) == ZEND_ASYNC_OFF)
937937
#define ZEND_ASYNC_IS_READY (ZEND_ASYNC_G(state) == ZEND_ASYNC_READY)
938938
#define ZEND_ASYNC_ACTIVATE ZEND_ASYNC_G(state) = ZEND_ASYNC_ACTIVE
939-
#define ZEND_ASYNC_READY ZEND_ASYNC_G(state) = ZEND_ASYNC_READY
939+
#define ZEND_ASYNC_INITIALIZE ZEND_ASYNC_G(state) = ZEND_ASYNC_READY
940940
#define ZEND_ASYNC_DEACTIVATE ZEND_ASYNC_G(state) = ZEND_ASYNC_OFF
941941
#define ZEND_ASYNC_SCHEDULER_ALIVE (zend_atomic_bool_load(&ZEND_ASYNC_G(heartbeat)) == true)
942942
#define ZEND_ASYNC_SCHEDULER_HEARTBEAT zend_atomic_bool_store(&ZEND_ASYNC_G(heartbeat), true)

0 commit comments

Comments
 (0)