diff options
author | Craig Tiller <ctiller@google.com> | 2015-06-01 08:48:45 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-06-01 08:48:45 -0700 |
commit | aaa03d74ceae4d48e31f4ba0619e359acd21505a (patch) | |
tree | 06677cfa5ddf1e7732d53cf550cd2ec1deadbc83 /src/core/iomgr/pollset_posix.h | |
parent | c590f213c7a7d0b9b1692826050152130fa5709f (diff) | |
parent | ee066371bbc83e3fdc0dd069d191335c32b9b6db (diff) |
Merge github.com:grpc/grpc into you-complete-me
Diffstat (limited to 'src/core/iomgr/pollset_posix.h')
-rw-r--r-- | src/core/iomgr/pollset_posix.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/core/iomgr/pollset_posix.h b/src/core/iomgr/pollset_posix.h index da843f7381..088ec910c2 100644 --- a/src/core/iomgr/pollset_posix.h +++ b/src/core/iomgr/pollset_posix.h @@ -101,7 +101,12 @@ void grpc_kick_drain(grpc_pollset *p); grpc_pollset *grpc_backup_pollset(void); /* turn a pollset into a multipoller: platform specific */ -void grpc_platform_become_multipoller(grpc_pollset *pollset, - struct grpc_fd **fds, size_t fd_count); +typedef void (*grpc_platform_become_multipoller_type)(grpc_pollset *pollset, + struct grpc_fd **fds, + size_t fd_count); +extern grpc_platform_become_multipoller_type grpc_platform_become_multipoller; -#endif /* GRPC_INTERNAL_CORE_IOMGR_POLLSET_POSIX_H */ +void grpc_poll_become_multipoller(grpc_pollset *pollset, struct grpc_fd **fds, + size_t fd_count); + +#endif /* GRPC_INTERNAL_CORE_IOMGR_POLLSET_POSIX_H */ |