aws-crt-ffi v0.3.7 -> v0.3.8 (#112)

Also: replace uses of `aws_promise` (removed in https://github.com/awslabs/aws-c-common/pull/1110) with `aws_future`
This commit is contained in:
Michael Graeb
2024-06-13 10:21:28 -07:00
committed by GitHub
parent 0ea1f04ec5
commit a63485b65b
4 changed files with 24 additions and 24 deletions
+3 -3
View File
@@ -17,8 +17,8 @@
#include <aws/common/common.h>
#include <aws/common/mutex.h>
#include <aws/common/promise.h>
#include <aws/common/thread.h>
#include <aws/io/future.h>
/* ZEND_EXTENSION_API_NO from each branch of the PHP source */
#define AWS_PHP_EXTENSION_API_5_5 220121212
@@ -162,8 +162,8 @@ bool aws_php_thread_queue_drain(aws_php_thread_queue *queue);
/* called from worker thread to wait for the main thread to execute any queued work in PHP */
void aws_php_thread_queue_yield(aws_php_thread_queue *queue);
/* called from PHP thread to wait on async queued jobs, one of which MUST complete the promise */
void aws_php_thread_queue_wait(aws_php_thread_queue *queue, struct aws_promise *promise);
/* called from PHP thread to wait on async queued jobs, one of which MUST complete the future */
void aws_php_thread_queue_wait(aws_php_thread_queue *queue, struct aws_future_void *future);
/**
* generic dispatch mechanism to call a callback provided as a zval with arguments