blob: b437032b3688effac5a8e77cae844fa90e2cfef4 [file] [log] [blame]
Sree Kuchibhotlaf448c342016-05-19 10:51:24 -07001/*
2 *
Jan Tattermusch7897ae92017-06-07 22:57:36 +02003 * Copyright 2017 gRPC authors.
Sree Kuchibhotlaf448c342016-05-19 10:51:24 -07004 *
Jan Tattermusch7897ae92017-06-07 22:57:36 +02005 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
Sree Kuchibhotlaf448c342016-05-19 10:51:24 -07008 *
Jan Tattermusch7897ae92017-06-07 22:57:36 +02009 * http://www.apache.org/licenses/LICENSE-2.0
Sree Kuchibhotlaf448c342016-05-19 10:51:24 -070010 *
Jan Tattermusch7897ae92017-06-07 22:57:36 +020011 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
Sree Kuchibhotlaf448c342016-05-19 10:51:24 -070016 *
17 */
18
Craig Tillerc67cc992017-04-27 10:15:51 -070019#ifndef GRPC_CORE_LIB_IOMGR_EV_EPOLL1_LINUX_H
20#define GRPC_CORE_LIB_IOMGR_EV_EPOLL1_LINUX_H
Sree Kuchibhotlaf448c342016-05-19 10:51:24 -070021
22#include "src/core/lib/iomgr/ev_posix.h"
murgatroid997e924a02016-08-10 10:06:43 -070023#include "src/core/lib/iomgr/port.h"
Sree Kuchibhotlaf448c342016-05-19 10:51:24 -070024
Yash Tibrewala7e6d652017-09-20 18:56:37 -070025#ifdef __cplusplus
26extern "C" {
27#endif
28
Craig Tillerc67cc992017-04-27 10:15:51 -070029// a polling engine that utilizes a singleton epoll set and turnstile polling
30
Craig Tiller6f0af492017-04-27 19:26:16 +000031const grpc_event_engine_vtable *grpc_init_epoll1_linux(bool explicit_request);
Sree Kuchibhotlaf448c342016-05-19 10:51:24 -070032
Yash Tibrewala7e6d652017-09-20 18:56:37 -070033#ifdef __cplusplus
34}
35#endif
36
Yash Tibrewal12fc6d42017-10-09 16:43:34 -070037#endif /* GRPC_CORE_LIB_IOMGR_EV_EPOLL1_LINUX_H */