Home
last modified time | relevance | path

Searched refs:polling_island (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc/src/core/lib/iomgr/
Dev_epollsig_linux.cc83 struct polling_island;
96 struct polling_island* pi;
180 typedef struct polling_island { struct
209 } polling_island; argument
271 static __thread polling_island* g_current_thread_polling_island;
274 static void polling_island_delete(polling_island* pi);
287 static void pi_add_ref(polling_island* pi);
288 static void pi_unref(polling_island* pi);
291 static void pi_add_ref_dbg(polling_island* pi, const char* reason, in pi_add_ref_dbg()
303 static void pi_unref_dbg(polling_island* pi, const char* reason, in pi_unref_dbg()
[all …]
/external/grpc-grpc/doc/
Depoll-polling-engine.md61 …a new abstraction called `polling_island` which will have an epoll set underneath (See **Figure 2*…
74 ### 4.1 Relation between `fd`, `pollset` and `polling_island:`
76 * An `fd` may belong to multiple `pollsets` but belongs to exactly one `polling_island`
77 * A `pollset` belongs to exactly one `polling_island`
78 * An `fd` and the `pollset(s`) it belongs to, have same `polling_island`
84 * **Case 1:** Both `fd` and `pollset` already belong to the same `polling_island`
87 …* Add all the `fds` from the smaller `polling_island `to the larger `polling_island` and update th…
88 …the smaller `polling_island`'s `epoll_fd` (by signalling the `event_fd` on that island) and make t…
89 * Update `fd` and `pollset` to now point to the larger `polling_island`