Home
last modified time | relevance | path

Searched refs:fd_monitor (Results 1 – 11 of 11) sorted by relevance

/dports/net/frr7-pythontools/frr-frr-7.5.1/zebra/
H A Dzebra_netns_notify.c250 int fd_monitor = THREAD_FD(t); in zebra_ns_notify_read() local
256 zrouter.master, zebra_ns_notify_read, NULL, fd_monitor, NULL); in zebra_ns_notify_read()
257 len = read(fd_monitor, buf, sizeof(buf)); in zebra_ns_notify_read()
350 int fd_monitor; in zebra_ns_notify_init() local
353 fd_monitor = inotify_init(); in zebra_ns_notify_init()
354 if (fd_monitor < 0) { in zebra_ns_notify_init()
360 if (inotify_add_watch(fd_monitor, NS_RUN_DIR, in zebra_ns_notify_init()
367 zrouter.master, zebra_ns_notify_read, NULL, fd_monitor, NULL); in zebra_ns_notify_init()
/dports/net/frr7/frr-frr-7.5.1/zebra/
H A Dzebra_netns_notify.c250 int fd_monitor = THREAD_FD(t); in zebra_ns_notify_read() local
256 zrouter.master, zebra_ns_notify_read, NULL, fd_monitor, NULL); in zebra_ns_notify_read()
257 len = read(fd_monitor, buf, sizeof(buf)); in zebra_ns_notify_read()
350 int fd_monitor; in zebra_ns_notify_init() local
353 fd_monitor = inotify_init(); in zebra_ns_notify_init()
354 if (fd_monitor < 0) { in zebra_ns_notify_init()
360 if (inotify_add_watch(fd_monitor, NS_RUN_DIR, in zebra_ns_notify_init()
367 zrouter.master, zebra_ns_notify_read, NULL, fd_monitor, NULL); in zebra_ns_notify_init()
/dports/shells/fish/fish-3.3.1/src/
H A Dfd_monitor.cpp46 FLOG(fd_monitor, "Thread starting"); in add()
162 if (remove) FLOG(fd_monitor, "Removing fd", fd); in run_in_background()
194 FLOG(fd_monitor, "Thread exiting"); in run_in_background()
207 if (remove) FLOG(fd_monitor, "Removing fd", fd); in poke_in_background()
H A Dio.cpp32 static fd_monitor_t &fd_monitor() { in fd_monitor() function
135 this->item_id_ = fd_monitor().add(std::move(item)); in begin_filling()
144 fd_monitor().poke_item(this->item_id_); in complete_background_fillthread_and_take_buffer()
H A Dflog.h100 category_t fd_monitor{L"fd-monitor", L"FD monitor events"};
/dports/databases/couchdb3/apache-couchdb-3.2.1/src/couch/src/
H A Dcouch_bt_engine.hrl16 fd_monitor,
H A Dcouch_bt_engine.erl173 Ref = St#st.fd_monitor,
191 handle_db_updater_info({'DOWN', Ref, _, _, _}, #st{fd_monitor=Ref} = St) ->
192 {stop, normal, St#st{fd=undefined, fd_monitor=closed}}.
196 {ok, St#st{fd_monitor = erlang:monitor(process, St#st.fd)}}.
200 true = erlang:demonitor(St#st.fd_monitor, [flush]),
921 fd_monitor = erlang:monitor(process, Fd),
/dports/databases/couchdb3/apache-couchdb-3.2.1/src/couch_mrview/include/
H A Dcouch_mrview.hrl16 fd_monitor,
/dports/databases/couchdb3/apache-couchdb-3.2.1/src/couch_mrview/src/
H A Dcouch_mrview_index.erl155 erlang:demonitor(State#mrst.fd_monitor, [flush]),
167 erlang:demonitor(State#mrst.fd_monitor, [flush]),
H A Dcouch_mrview_compactor.erl236 erlang:demonitor(OldState#mrst.fd_monitor, [flush]),
238 {ok, NewState#mrst{fd_monitor=Ref}}.
H A Dcouch_mrview_util.erl301 fd_monitor=erlang:monitor(process, Fd),