Skip to content

Commit f8c81f6

Browse files
committed
php#9: * Fixes in the zend_iterator logic in the context of concurrent iteration.
Added a constant for high priority.
1 parent 9d59043 commit f8c81f6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Zend/zend_async_API.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@ typedef enum {
8888
ZEND_ASYNC_EXEC_MODE_SHELL_EXEC
8989
} zend_async_exec_mode;
9090

91+
typedef enum {
92+
ZEND_COROUTINE_NORMAL = 0,
93+
ZEND_COROUTINE_HI_PRIORITY = 255
94+
} zend_coroutine_priority;
95+
9196
typedef enum
9297
{
9398
ZEND_ASYNC_CLASS_NO = 0,

0 commit comments

Comments
 (0)