Skip to content

Commit

Permalink
Merge pull request #326 from ctiller/wakeup3
Browse files Browse the repository at this point in the history
Initialize mutex
  • Loading branch information
dklempner committed Feb 2, 2015
2 parents 6e64354 + 9834fd6 commit 3ea4ed3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/iomgr/pollset_kick.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,13 @@ void grpc_pollset_kick_global_init_fallback_fd(void) {
}

void grpc_pollset_kick_global_init(void) {
gpr_mu_init(&fd_freelist_mu);
grpc_wakeup_fd_global_init();
}

void grpc_pollset_kick_global_destroy(void) {
grpc_wakeup_fd_global_destroy();
gpr_mu_destroy(&fd_freelist_mu);
}


Expand Down

0 comments on commit 3ea4ed3

Please sign in to comment.