aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2017-08-27 18:10:12 -0700
committerGravatar Sree Kuchibhotla <sreek@google.com>2017-08-27 18:10:12 -0700
commite01940f2b3210b94485c80bab77392103d557648 (patch)
tree7d3dbd590a2aa10482dd49401c7c2d9e907abb81 /src/core
parenta1ba139a20bce6c82b4a70ceec423ce122f5eefb (diff)
clang format
Diffstat (limited to 'src/core')
-rw-r--r--src/core/lib/iomgr/ev_epoll1_linux.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/lib/iomgr/ev_epoll1_linux.c b/src/core/lib/iomgr/ev_epoll1_linux.c
index 896d8b8eef..b940d48ba9 100644
--- a/src/core/lib/iomgr/ev_epoll1_linux.c
+++ b/src/core/lib/iomgr/ev_epoll1_linux.c
@@ -56,14 +56,14 @@ static grpc_wakeup_fd global_wakeup_fd;
#define MAX_EPOLL_EVENTS 100
#define MAX_EPOLL_EVENTS_HANDLED_PER_ITERATION 1
- /* NOTE ON SYNCHRONIZATION:
- - Fields in this struct are only modified by the designated poller. Hence
- there is no need for any locks to protect the struct.
-
- - num_events and cursor fields have to be of atomic type to provide memory
- visibility guarantees only. i.e In case of multiple pollers, the designated
- polling thread keeps changing; the thread that wrote these values may be
- different from the thread reading the values */
+/* NOTE ON SYNCHRONIZATION:
+ * - Fields in this struct are only modified by the designated poller. Hence
+ * there is no need for any locks to protect the struct.
+ * - num_events and cursor fields have to be of atomic type to provide memory
+ * visibility guarantees only. i.e In case of multiple pollers, the designated
+ * polling thread keeps changing; the thread that wrote these values may be
+ * different from the thread reading the values
+ */
typedef struct epoll_set {
int epfd;