diff options
author | Craig Tiller <ctiller@google.com> | 2015-09-28 14:25:38 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-09-28 14:25:38 -0700 |
commit | 926c0e99f8d44c58a8f3d3321f51b007623ae495 (patch) | |
tree | 963380cf14c3024559109fd813728603b2f1cb9b /src/core/iomgr | |
parent | 3a321282da2966dc35f1feedcb7115bb2fa5b7dc (diff) |
Initialize/destroy TLS members - to fix iOS build
Diffstat (limited to 'src/core/iomgr')
-rw-r--r-- | src/core/iomgr/pollset_posix.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/iomgr/pollset_posix.c b/src/core/iomgr/pollset_posix.c index 10bab134d7..e80963e0ea 100644 --- a/src/core/iomgr/pollset_posix.c +++ b/src/core/iomgr/pollset_posix.c @@ -119,11 +119,13 @@ void grpc_pollset_kick(grpc_pollset *p, grpc_pollset_worker *specific_worker) { void grpc_pollset_global_init(void) { gpr_tls_init(&g_current_thread_poller); + gpr_tls_init(&g_current_thread_worker); grpc_wakeup_fd_global_init(); } void grpc_pollset_global_shutdown(void) { gpr_tls_destroy(&g_current_thread_poller); + gpr_tls_destroy(&g_current_thread_worker); grpc_wakeup_fd_global_destroy(); } |