diff options
author | Stanley Cheung <stanleycheung@google.com> | 2018-11-27 22:36:28 -0800 |
---|---|---|
committer | Stanley Cheung <stanleycheung@google.com> | 2018-11-27 22:36:28 -0800 |
commit | f2973917f4a55b3456b506f3bea856fbe38442f2 (patch) | |
tree | 07c58f365e4302f9e6a39125171a04e2375b3d7a /src/php/ext | |
parent | c5d22df984d1f8f097ff3064338befedbb36a2c4 (diff) |
Fix PHP ZTS build breakage
Diffstat (limited to 'src/php/ext')
-rw-r--r-- | src/php/ext/grpc/php_grpc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/php/ext/grpc/php_grpc.c b/src/php/ext/grpc/php_grpc.c index 492325b1e8..f7d5a85876 100644 --- a/src/php/ext/grpc/php_grpc.c +++ b/src/php/ext/grpc/php_grpc.c @@ -170,12 +170,12 @@ void prefork() { acquire_persistent_locks(); } -void postfork_child() { +void postfork_child(TSRMLS_D) { // loop through persistant list and destroy all underlying grpc_channel objs destroy_grpc_channels(); // clear completion queue - grpc_php_shutdown_completion_queue(); + grpc_php_shutdown_completion_queue(TSRMLS_C); // clean-up grpc_core grpc_shutdown(); @@ -187,7 +187,7 @@ void postfork_child() { // restart grpc_core grpc_init(); - grpc_php_init_completion_queue(); + grpc_php_init_completion_queue(TSRMLS_C); // re-create grpc_channel and point wrapped to it // unlock wrapped grpc channel mutex |