We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09c84c7 commit 1f302f7Copy full SHA for 1f302f7
scheduler.c
@@ -314,19 +314,6 @@ static zend_always_inline async_coroutine_t *next_coroutine(void)
314
return coroutine;
315
}
316
317
-static zend_always_inline async_fiber_context_t *fiber_context_allocate(void)
318
-{
319
- async_fiber_context_t *fiber_context = NULL;
320
-
321
- circular_buffer_pop_ptr(&ASYNC_G(fiber_context_pool), (void**)&fiber_context);
322
323
- if (fiber_context == NULL) {
324
- fiber_context = async_fiber_context_create();
325
- }
326
327
- return fiber_context;
328
-}
329
330
static zend_always_inline bool return_fiber_to_pool(async_fiber_context_t *fiber_context)
331
{
332
circular_buffer_t *buffer = &ASYNC_G(fiber_context_pool);
0 commit comments