Home
last modified time | relevance | path

Searched refs:shutdown_pipe (Results 1 – 25 of 29) sorted by relevance

12

/dports/devel/gitlab-shell/gitlab-shell-65b8ec55bebd0aea64ac52b9878bafcc2ad992d3/spec/support/
H A Dhttp_unix_server.rb26 shutdown_pipe = @shutdown_pipe
30 def cleanup_shutdown_pipe(shutdown_pipe) argument
32 return if !shutdown_pipe
33 super(shutdown_pipe)
/dports/comms/owfs/owfs-3.2p4/module/owlib/src/c/
H A Dow_enet_monitor.c84 Init_Pipe( in->master.enet_monitor.shutdown_pipe ) ; in ENET_monitor_detect()
85 if ( pipe( in->master.enet_monitor.shutdown_pipe ) != 0 ) { in ENET_monitor_detect()
87 Init_Pipe( in->master.enet_monitor.shutdown_pipe ) ; in ENET_monitor_detect()
119 if ( FILE_DESCRIPTOR_VALID( in->master.enet_monitor.shutdown_pipe[fd_pipe_write] ) ) { in ENET_monitor_close()
120 …ignore_result = write( in->master.enet_monitor.shutdown_pipe[fd_pipe_write],"X",1) ; //dummy paylo… in ENET_monitor_close()
122 Test_and_Close_Pipe(in->master.enet_monitor.shutdown_pipe) ; in ENET_monitor_close()
128 FILE_DESCRIPTOR_OR_ERROR file_descriptor = in->master.enet_monitor.shutdown_pipe[fd_pipe_read] ; in ENET_monitor_loop()
H A Dow_usb_monitor.c89 Init_Pipe( in->master.usb_monitor.shutdown_pipe ) ; in USB_monitor_detect()
90 if ( pipe( in->master.usb_monitor.shutdown_pipe ) != 0 ) { in USB_monitor_detect()
92 Init_Pipe( in->master.usb_monitor.shutdown_pipe ) ; in USB_monitor_detect()
125 if ( FILE_DESCRIPTOR_VALID( in->master.usb_monitor.shutdown_pipe[fd_pipe_write] ) ) { in USB_monitor_close()
126 …ignore_result = write( in->master.usb_monitor.shutdown_pipe[fd_pipe_write],"X",1) ; //dummy payload in USB_monitor_close()
128 Test_and_Close_Pipe(in->master.usb_monitor.shutdown_pipe) ; in USB_monitor_close()
134 FILE_DESCRIPTOR_OR_ERROR file_descriptor = in->master.usb_monitor.shutdown_pipe[fd_pipe_read] ; in USB_monitor_loop()
H A Dow_net_server.c28 FILE_DESCRIPTOR_OR_ERROR shutdown_pipe[2] ; variable
266 if ( FILE_DESCRIPTOR_VALID( shutdown_pipe[fd_pipe_write] ) ) { in ProcessAcceptSocket()
267 ignore_result = write( shutdown_pipe[fd_pipe_write],"X",1) ; //dummy payload in ProcessAcceptSocket()
327 Init_Pipe( shutdown_pipe ) ; in ServerProcess()
332 if ( pipe( shutdown_pipe ) != 0 ) { in ServerProcess()
334 Init_Pipe( shutdown_pipe ) ; in ServerProcess()
347 …need_to_read_pipe = handler_thread_count>0 && FILE_DESCRIPTOR_VALID( shutdown_pipe[fd_pipe_read] )… in ServerProcess()
353 ignore_result = read( shutdown_pipe[fd_pipe_read],buf,1) ; in ServerProcess()
355 Test_and_Close_Pipe(shutdown_pipe) ; in ServerProcess()
/dports/irc/bitlbee/bitlbee-3.6/
H A Dunix.c57 } shutdown_pipe = {{-1 , -1}, 0}; variable
287 if (shutdown_pipe.fd[0] != -1) { in sighandler_shutdown_setup()
289 b_event_remove(shutdown_pipe.tag); in sighandler_shutdown_setup()
290 close(shutdown_pipe.fd[0]); in sighandler_shutdown_setup()
291 close(shutdown_pipe.fd[1]); in sighandler_shutdown_setup()
294 if (pipe(shutdown_pipe.fd) == 0) { in sighandler_shutdown_setup()
295 shutdown_pipe.tag = b_input_add(shutdown_pipe.fd[0], B_EV_IO_READ, bitlbee_shutdown, NULL); in sighandler_shutdown_setup()
305 unused = write(shutdown_pipe.fd[1], "", 1); in sighandler_shutdown()
/dports/lang/ruby26/ruby-2.6.9/lib/webrick/
H A Dserver.rb163 shutdown_pipe = @shutdown_pipe
169 sp = shutdown_pipe[0]
204 cleanup_shutdown_pipe(shutdown_pipe)
339 def cleanup_shutdown_pipe(shutdown_pipe) argument
341 shutdown_pipe&.each(&:close)
/dports/comms/owfs/owfs-3.2p4/module/owlib/src/include/
H A Dow_master.h170 FILE_DESCRIPTOR_OR_ERROR shutdown_pipe[2] ; member
176 FILE_DESCRIPTOR_OR_ERROR shutdown_pipe[2] ; member
183 FILE_DESCRIPTOR_OR_ERROR shutdown_pipe[2] ; member
/dports/net/samba412/samba-4.12.15/source3/libsmb/
H A Dpylibsmb.c119 int shutdown_pipe[2]; member
204 if (t->shutdown_pipe[0] != -1) { in py_cli_thread_destructor()
205 close(t->shutdown_pipe[0]); in py_cli_thread_destructor()
206 t->shutdown_pipe[0] = -1; in py_cli_thread_destructor()
209 close(t->shutdown_pipe[1]); in py_cli_thread_destructor()
210 t->shutdown_pipe[1] = -1; in py_cli_thread_destructor()
238 ret = pipe(t->shutdown_pipe); in py_cli_state_setup_mt_ev()
263 close(t->shutdown_pipe[0]); in py_cli_state_setup_mt_ev()
264 t->shutdown_pipe[0] = -1; in py_cli_state_setup_mt_ev()
267 close(t->shutdown_pipe[1]); in py_cli_state_setup_mt_ev()
[all …]
/dports/security/botan110/Botan-1.10.17/src/entropy/unix_procs/
H A Dunix_cmd.cpp85 shutdown_pipe(); in read()
186 void DataSource_Command::shutdown_pipe() in shutdown_pipe() function in Botan::DataSource_Command
241 shutdown_pipe(); in ~DataSource_Command()
H A Dunix_cmd.h65 void shutdown_pipe();
/dports/databases/percona56-client/percona-server-5.6.51-91.0/sql/
H A Dthreadpool_unix.cc155 int shutdown_pipe[2]; member
994 thread_group->shutdown_pipe[0]= -1; in thread_group_init()
995 thread_group->shutdown_pipe[1]= -1; in thread_group_init()
1010 if(thread_group->shutdown_pipe[i] != -1) in thread_group_destroy()
1012 close(thread_group->shutdown_pipe[i]); in thread_group_destroy()
1013 thread_group->shutdown_pipe[i]= -1; in thread_group_destroy()
1060 if (pipe(thread_group->shutdown_pipe)) in thread_group_close()
1068 thread_group->shutdown_pipe[0], NULL)) in thread_group_close()
1074 if (write(thread_group->shutdown_pipe[1], &c, 1) < 0) in thread_group_close()
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/sql/
H A Dthreadpool_unix.cc155 int shutdown_pipe[2]; member
994 thread_group->shutdown_pipe[0]= -1; in thread_group_init()
995 thread_group->shutdown_pipe[1]= -1; in thread_group_init()
1010 if(thread_group->shutdown_pipe[i] != -1) in thread_group_destroy()
1012 close(thread_group->shutdown_pipe[i]); in thread_group_destroy()
1013 thread_group->shutdown_pipe[i]= -1; in thread_group_destroy()
1060 if (pipe(thread_group->shutdown_pipe)) in thread_group_close()
1068 thread_group->shutdown_pipe[0], NULL)) in thread_group_close()
1074 if (write(thread_group->shutdown_pipe[1], &c, 1) < 0) in thread_group_close()
/dports/databases/percona57-server/percona-server-5.7.36-39/sql/
H A Dthreadpool_unix.cc153 int shutdown_pipe[2]; member
990 thread_group->shutdown_pipe[0]= -1; in thread_group_init()
991 thread_group->shutdown_pipe[1]= -1; in thread_group_init()
1005 if(thread_group->shutdown_pipe[i] != -1) in thread_group_destroy()
1007 close(thread_group->shutdown_pipe[i]); in thread_group_destroy()
1008 thread_group->shutdown_pipe[i]= -1; in thread_group_destroy()
1055 if (pipe(thread_group->shutdown_pipe)) in thread_group_close()
1063 thread_group->shutdown_pipe[0], NULL)) in thread_group_close()
1069 if (write(thread_group->shutdown_pipe[1], &c, 1) < 0) in thread_group_close()
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/sql/
H A Dthreadpool_unix.cc153 int shutdown_pipe[2]; member
990 thread_group->shutdown_pipe[0]= -1; in thread_group_init()
991 thread_group->shutdown_pipe[1]= -1; in thread_group_init()
1005 if(thread_group->shutdown_pipe[i] != -1) in thread_group_destroy()
1007 close(thread_group->shutdown_pipe[i]); in thread_group_destroy()
1008 thread_group->shutdown_pipe[i]= -1; in thread_group_destroy()
1055 if (pipe(thread_group->shutdown_pipe)) in thread_group_close()
1063 thread_group->shutdown_pipe[0], NULL)) in thread_group_close()
1069 if (write(thread_group->shutdown_pipe[1], &c, 1) < 0) in thread_group_close()
/dports/databases/percona57-client/percona-server-5.7.36-39/sql/
H A Dthreadpool_unix.cc153 int shutdown_pipe[2]; member
990 thread_group->shutdown_pipe[0]= -1; in thread_group_init()
991 thread_group->shutdown_pipe[1]= -1; in thread_group_init()
1005 if(thread_group->shutdown_pipe[i] != -1) in thread_group_destroy()
1007 close(thread_group->shutdown_pipe[i]); in thread_group_destroy()
1008 thread_group->shutdown_pipe[i]= -1; in thread_group_destroy()
1055 if (pipe(thread_group->shutdown_pipe)) in thread_group_close()
1063 thread_group->shutdown_pipe[0], NULL)) in thread_group_close()
1069 if (write(thread_group->shutdown_pipe[1], &c, 1) < 0) in thread_group_close()
/dports/databases/percona56-server/percona-server-5.6.51-91.0/sql/
H A Dthreadpool_unix.cc155 int shutdown_pipe[2]; member
994 thread_group->shutdown_pipe[0]= -1; in thread_group_init()
995 thread_group->shutdown_pipe[1]= -1; in thread_group_init()
1010 if(thread_group->shutdown_pipe[i] != -1) in thread_group_destroy()
1012 close(thread_group->shutdown_pipe[i]); in thread_group_destroy()
1013 thread_group->shutdown_pipe[i]= -1; in thread_group_destroy()
1060 if (pipe(thread_group->shutdown_pipe)) in thread_group_close()
1068 thread_group->shutdown_pipe[0], NULL)) in thread_group_close()
1074 if (write(thread_group->shutdown_pipe[1], &c, 1) < 0) in thread_group_close()
/dports/databases/mariadb104-server/mariadb-10.4.24/sql/
H A Dthreadpool_generic.cc196 int shutdown_pipe[2]; in MY_ALIGNED() local
1055 thread_group->shutdown_pipe[0]= -1; in thread_group_init()
1056 thread_group->shutdown_pipe[1]= -1; in thread_group_init()
1073 if(thread_group->shutdown_pipe[i] != -1) in thread_group_destroy()
1075 close(thread_group->shutdown_pipe[i]); in thread_group_destroy()
1076 thread_group->shutdown_pipe[i]= -1; in thread_group_destroy()
1113 if (pipe(thread_group->shutdown_pipe)) in wake_listener()
1120 thread_group->shutdown_pipe[0], NULL, NULL)) in wake_listener()
1125 if (write(thread_group->shutdown_pipe[1], &c, 1) < 0) in wake_listener()
/dports/databases/mariadb104-client/mariadb-10.4.24/sql/
H A Dthreadpool_generic.cc196 int shutdown_pipe[2]; in MY_ALIGNED() local
1055 thread_group->shutdown_pipe[0]= -1; in thread_group_init()
1056 thread_group->shutdown_pipe[1]= -1; in thread_group_init()
1073 if(thread_group->shutdown_pipe[i] != -1) in thread_group_destroy()
1075 close(thread_group->shutdown_pipe[i]); in thread_group_destroy()
1076 thread_group->shutdown_pipe[i]= -1; in thread_group_destroy()
1113 if (pipe(thread_group->shutdown_pipe)) in wake_listener()
1120 thread_group->shutdown_pipe[0], NULL, NULL)) in wake_listener()
1125 if (write(thread_group->shutdown_pipe[1], &c, 1) < 0) in wake_listener()
/dports/databases/mariadb103-server/mariadb-10.3.34/sql/
H A Dthreadpool_generic.cc196 int shutdown_pipe[2]; in MY_ALIGNED() local
1054 thread_group->shutdown_pipe[0]= -1; in thread_group_init()
1055 thread_group->shutdown_pipe[1]= -1; in thread_group_init()
1072 if(thread_group->shutdown_pipe[i] != -1) in thread_group_destroy()
1074 close(thread_group->shutdown_pipe[i]); in thread_group_destroy()
1075 thread_group->shutdown_pipe[i]= -1; in thread_group_destroy()
1112 if (pipe(thread_group->shutdown_pipe)) in wake_listener()
1119 thread_group->shutdown_pipe[0], NULL, NULL)) in wake_listener()
1124 if (write(thread_group->shutdown_pipe[1], &c, 1) < 0) in wake_listener()
/dports/databases/mariadb103-client/mariadb-10.3.34/sql/
H A Dthreadpool_generic.cc196 int shutdown_pipe[2]; in MY_ALIGNED() local
1054 thread_group->shutdown_pipe[0]= -1; in thread_group_init()
1055 thread_group->shutdown_pipe[1]= -1; in thread_group_init()
1072 if(thread_group->shutdown_pipe[i] != -1) in thread_group_destroy()
1074 close(thread_group->shutdown_pipe[i]); in thread_group_destroy()
1075 thread_group->shutdown_pipe[i]= -1; in thread_group_destroy()
1112 if (pipe(thread_group->shutdown_pipe)) in wake_listener()
1119 thread_group->shutdown_pipe[0], NULL, NULL)) in wake_listener()
1124 if (write(thread_group->shutdown_pipe[1], &c, 1) < 0) in wake_listener()
/dports/databases/mariadb105-client/mariadb-10.5.15/sql/
H A Dthreadpool_generic.cc998 thread_group->shutdown_pipe[0]= -1; in thread_group_init()
999 thread_group->shutdown_pipe[1]= -1; in thread_group_init()
1016 if(thread_group->shutdown_pipe[i] != -1) in thread_group_destroy()
1018 close(thread_group->shutdown_pipe[i]); in thread_group_destroy()
1019 thread_group->shutdown_pipe[i]= -1; in thread_group_destroy()
1061 if (pipe(thread_group->shutdown_pipe)) in wake_listener()
1068 thread_group->shutdown_pipe[0], NULL, NULL)) in wake_listener()
1073 if (write(thread_group->shutdown_pipe[1], &c, 1) < 0) in wake_listener()
H A Dthreadpool_generic.h145 int shutdown_pipe[2]; member
/dports/databases/mariadb105-server/mariadb-10.5.15/sql/
H A Dthreadpool_generic.cc998 thread_group->shutdown_pipe[0]= -1; in thread_group_init()
999 thread_group->shutdown_pipe[1]= -1; in thread_group_init()
1016 if(thread_group->shutdown_pipe[i] != -1) in thread_group_destroy()
1018 close(thread_group->shutdown_pipe[i]); in thread_group_destroy()
1019 thread_group->shutdown_pipe[i]= -1; in thread_group_destroy()
1061 if (pipe(thread_group->shutdown_pipe)) in wake_listener()
1068 thread_group->shutdown_pipe[0], NULL, NULL)) in wake_listener()
1073 if (write(thread_group->shutdown_pipe[1], &c, 1) < 0) in wake_listener()
H A Dthreadpool_generic.h145 int shutdown_pipe[2]; member
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/librpc/rpc/
H A Ddcerpc.h64 NTSTATUS (*shutdown_pipe)(struct dcerpc_connection *); member

12