/dports/multimedia/mpv/mpv-0.34.1/input/ |
H A D | ipc-unix.c | 54 int death_pipe[2]; member 353 {.events = POLLIN, .fd = arg->death_pipe[0]}, in ipc_thread() 395 .death_pipe = {-1, -1}, in mp_init_ipc() 418 if (mp_make_wakeup_pipe(arg->death_pipe) < 0) in mp_init_ipc() 427 if (arg->death_pipe[0] >= 0) { in mp_init_ipc() 428 close(arg->death_pipe[0]); in mp_init_ipc() 429 close(arg->death_pipe[1]); in mp_init_ipc() 440 (void)write(arg->death_pipe[1], &(char){0}, 1); in mp_uninit_ipc() 443 close(arg->death_pipe[0]); in mp_uninit_ipc() 444 close(arg->death_pipe[1]); in mp_uninit_ipc()
|
/dports/databases/qt5-sql/kde-qtbase-5.15.2p263/src/3rdparty/forkfd/ |
H A D | forkfd.c | 640 int death_pipe[2]; in forkfd() local 665 if (create_pipe(death_pipe, flags) == -1) in forkfd() 720 info->deathPipe = death_pipe[1]; in forkfd() 721 fd = death_pipe[0]; in forkfd() 757 EINTR_LOOP(ret, close(death_pipe[0])); in forkfd() 758 EINTR_LOOP(ret, close(death_pipe[1])); in forkfd() 774 int death_pipe[2]; in spawnfd() local 808 info->deathPipe = death_pipe[1]; in spawnfd() 815 ret = death_pipe[0]; in spawnfd() 819 EINTR_LOOP(ret, close(death_pipe[0])); in spawnfd() [all …]
|
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/3rdparty/forkfd/ |
H A D | forkfd.c | 640 int death_pipe[2]; in forkfd() local 665 if (create_pipe(death_pipe, flags) == -1) in forkfd() 720 info->deathPipe = death_pipe[1]; in forkfd() 721 fd = death_pipe[0]; in forkfd() 757 EINTR_LOOP(ret, close(death_pipe[0])); in forkfd() 758 EINTR_LOOP(ret, close(death_pipe[1])); in forkfd() 774 int death_pipe[2]; in spawnfd() local 808 info->deathPipe = death_pipe[1]; in spawnfd() 815 ret = death_pipe[0]; in spawnfd() 819 EINTR_LOOP(ret, close(death_pipe[0])); in spawnfd() [all …]
|
/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/3rdparty/forkfd/ |
H A D | forkfd.c | 640 int death_pipe[2]; in forkfd() local 665 if (create_pipe(death_pipe, flags) == -1) in forkfd() 720 info->deathPipe = death_pipe[1]; in forkfd() 721 fd = death_pipe[0]; in forkfd() 757 EINTR_LOOP(ret, close(death_pipe[0])); in forkfd() 758 EINTR_LOOP(ret, close(death_pipe[1])); in forkfd() 774 int death_pipe[2]; in spawnfd() local 808 info->deathPipe = death_pipe[1]; in spawnfd() 815 ret = death_pipe[0]; in spawnfd() 819 EINTR_LOOP(ret, close(death_pipe[0])); in spawnfd() [all …]
|
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/3rdparty/forkfd/ |
H A D | forkfd.c | 640 int death_pipe[2]; in forkfd() local 665 if (create_pipe(death_pipe, flags) == -1) in forkfd() 720 info->deathPipe = death_pipe[1]; in forkfd() 721 fd = death_pipe[0]; in forkfd() 757 EINTR_LOOP(ret, close(death_pipe[0])); in forkfd() 758 EINTR_LOOP(ret, close(death_pipe[1])); in forkfd() 774 int death_pipe[2]; in spawnfd() local 808 info->deathPipe = death_pipe[1]; in spawnfd() 815 ret = death_pipe[0]; in spawnfd() 819 EINTR_LOOP(ret, close(death_pipe[0])); in spawnfd() [all …]
|
/dports/databases/qt5-sqldrivers-ibase/kde-qtbase-5.15.2p263/src/3rdparty/forkfd/ |
H A D | forkfd.c | 640 int death_pipe[2]; in forkfd() local 665 if (create_pipe(death_pipe, flags) == -1) in forkfd() 720 info->deathPipe = death_pipe[1]; in forkfd() 721 fd = death_pipe[0]; in forkfd() 757 EINTR_LOOP(ret, close(death_pipe[0])); in forkfd() 758 EINTR_LOOP(ret, close(death_pipe[1])); in forkfd() 774 int death_pipe[2]; in spawnfd() local 808 info->deathPipe = death_pipe[1]; in spawnfd() 815 ret = death_pipe[0]; in spawnfd() 819 EINTR_LOOP(ret, close(death_pipe[0])); in spawnfd() [all …]
|
/dports/databases/qt5-sqldrivers-mysql/kde-qtbase-5.15.2p263/src/3rdparty/forkfd/ |
H A D | forkfd.c | 640 int death_pipe[2]; in forkfd() local 665 if (create_pipe(death_pipe, flags) == -1) in forkfd() 720 info->deathPipe = death_pipe[1]; in forkfd() 721 fd = death_pipe[0]; in forkfd() 757 EINTR_LOOP(ret, close(death_pipe[0])); in forkfd() 758 EINTR_LOOP(ret, close(death_pipe[1])); in forkfd() 774 int death_pipe[2]; in spawnfd() local 808 info->deathPipe = death_pipe[1]; in spawnfd() 815 ret = death_pipe[0]; in spawnfd() 819 EINTR_LOOP(ret, close(death_pipe[0])); in spawnfd() [all …]
|
/dports/databases/qt5-sqldrivers-odbc/kde-qtbase-5.15.2p263/src/3rdparty/forkfd/ |
H A D | forkfd.c | 640 int death_pipe[2]; in forkfd() local 665 if (create_pipe(death_pipe, flags) == -1) in forkfd() 720 info->deathPipe = death_pipe[1]; in forkfd() 721 fd = death_pipe[0]; in forkfd() 757 EINTR_LOOP(ret, close(death_pipe[0])); in forkfd() 758 EINTR_LOOP(ret, close(death_pipe[1])); in forkfd() 774 int death_pipe[2]; in spawnfd() local 808 info->deathPipe = death_pipe[1]; in spawnfd() 815 ret = death_pipe[0]; in spawnfd() 819 EINTR_LOOP(ret, close(death_pipe[0])); in spawnfd() [all …]
|
/dports/databases/qt5-sqldrivers-pgsql/kde-qtbase-5.15.2p263/src/3rdparty/forkfd/ |
H A D | forkfd.c | 640 int death_pipe[2]; in forkfd() local 665 if (create_pipe(death_pipe, flags) == -1) in forkfd() 720 info->deathPipe = death_pipe[1]; in forkfd() 721 fd = death_pipe[0]; in forkfd() 757 EINTR_LOOP(ret, close(death_pipe[0])); in forkfd() 758 EINTR_LOOP(ret, close(death_pipe[1])); in forkfd() 774 int death_pipe[2]; in spawnfd() local 808 info->deathPipe = death_pipe[1]; in spawnfd() 815 ret = death_pipe[0]; in spawnfd() 819 EINTR_LOOP(ret, close(death_pipe[0])); in spawnfd() [all …]
|
/dports/net/qt5-network/kde-qtbase-5.15.2p263/src/3rdparty/forkfd/ |
H A D | forkfd.c | 640 int death_pipe[2]; in forkfd() local 665 if (create_pipe(death_pipe, flags) == -1) in forkfd() 720 info->deathPipe = death_pipe[1]; in forkfd() 721 fd = death_pipe[0]; in forkfd() 757 EINTR_LOOP(ret, close(death_pipe[0])); in forkfd() 758 EINTR_LOOP(ret, close(death_pipe[1])); in forkfd() 774 int death_pipe[2]; in spawnfd() local 808 info->deathPipe = death_pipe[1]; in spawnfd() 815 ret = death_pipe[0]; in spawnfd() 819 EINTR_LOOP(ret, close(death_pipe[0])); in spawnfd() [all …]
|
/dports/textproc/qt5-xml/kde-qtbase-5.15.2p263/src/3rdparty/forkfd/ |
H A D | forkfd.c | 640 int death_pipe[2]; in forkfd() local 665 if (create_pipe(death_pipe, flags) == -1) in forkfd() 720 info->deathPipe = death_pipe[1]; in forkfd() 721 fd = death_pipe[0]; in forkfd() 757 EINTR_LOOP(ret, close(death_pipe[0])); in forkfd() 758 EINTR_LOOP(ret, close(death_pipe[1])); in forkfd() 774 int death_pipe[2]; in spawnfd() local 808 info->deathPipe = death_pipe[1]; in spawnfd() 815 ret = death_pipe[0]; in spawnfd() 819 EINTR_LOOP(ret, close(death_pipe[0])); in spawnfd() [all …]
|
/dports/x11-toolkits/qt5-widgets/kde-qtbase-5.15.2p263/src/3rdparty/forkfd/ |
H A D | forkfd.c | 640 int death_pipe[2]; in forkfd() local 665 if (create_pipe(death_pipe, flags) == -1) in forkfd() 720 info->deathPipe = death_pipe[1]; in forkfd() 721 fd = death_pipe[0]; in forkfd() 757 EINTR_LOOP(ret, close(death_pipe[0])); in forkfd() 758 EINTR_LOOP(ret, close(death_pipe[1])); in forkfd() 774 int death_pipe[2]; in spawnfd() local 808 info->deathPipe = death_pipe[1]; in spawnfd() 815 ret = death_pipe[0]; in spawnfd() 819 EINTR_LOOP(ret, close(death_pipe[0])); in spawnfd() [all …]
|
/dports/devel/qt5-testlib/kde-qtbase-5.15.2p263/src/3rdparty/forkfd/ |
H A D | forkfd.c | 640 int death_pipe[2]; in forkfd() local 665 if (create_pipe(death_pipe, flags) == -1) in forkfd() 720 info->deathPipe = death_pipe[1]; in forkfd() 721 fd = death_pipe[0]; in forkfd() 757 EINTR_LOOP(ret, close(death_pipe[0])); in forkfd() 758 EINTR_LOOP(ret, close(death_pipe[1])); in forkfd() 774 int death_pipe[2]; in spawnfd() local 808 info->deathPipe = death_pipe[1]; in spawnfd() 815 ret = death_pipe[0]; in spawnfd() 819 EINTR_LOOP(ret, close(death_pipe[0])); in spawnfd() [all …]
|
/dports/x11-toolkits/qt5-gui/kde-qtbase-5.15.2p263/src/3rdparty/forkfd/ |
H A D | forkfd.c | 640 int death_pipe[2]; in forkfd() local 665 if (create_pipe(death_pipe, flags) == -1) in forkfd() 720 info->deathPipe = death_pipe[1]; in forkfd() 721 fd = death_pipe[0]; in forkfd() 757 EINTR_LOOP(ret, close(death_pipe[0])); in forkfd() 758 EINTR_LOOP(ret, close(death_pipe[1])); in forkfd() 774 int death_pipe[2]; in spawnfd() local 808 info->deathPipe = death_pipe[1]; in spawnfd() 815 ret = death_pipe[0]; in spawnfd() 819 EINTR_LOOP(ret, close(death_pipe[0])); in spawnfd() [all …]
|
/dports/devel/qt5-concurrent/kde-qtbase-5.15.2p263/src/3rdparty/forkfd/ |
H A D | forkfd.c | 640 int death_pipe[2]; in forkfd() local 665 if (create_pipe(death_pipe, flags) == -1) in forkfd() 720 info->deathPipe = death_pipe[1]; in forkfd() 721 fd = death_pipe[0]; in forkfd() 757 EINTR_LOOP(ret, close(death_pipe[0])); in forkfd() 758 EINTR_LOOP(ret, close(death_pipe[1])); in forkfd() 774 int death_pipe[2]; in spawnfd() local 808 info->deathPipe = death_pipe[1]; in spawnfd() 815 ret = death_pipe[0]; in spawnfd() 819 EINTR_LOOP(ret, close(death_pipe[0])); in spawnfd() [all …]
|
/dports/devel/qt5-dbus/kde-qtbase-5.15.2p263/src/3rdparty/forkfd/ |
H A D | forkfd.c | 640 int death_pipe[2]; in forkfd() local 665 if (create_pipe(death_pipe, flags) == -1) in forkfd() 720 info->deathPipe = death_pipe[1]; in forkfd() 721 fd = death_pipe[0]; in forkfd() 757 EINTR_LOOP(ret, close(death_pipe[0])); in forkfd() 758 EINTR_LOOP(ret, close(death_pipe[1])); in forkfd() 774 int death_pipe[2]; in spawnfd() local 808 info->deathPipe = death_pipe[1]; in spawnfd() 815 ret = death_pipe[0]; in spawnfd() 819 EINTR_LOOP(ret, close(death_pipe[0])); in spawnfd() [all …]
|
/dports/devel/qt5-buildtools/kde-qtbase-5.15.2p263/src/3rdparty/forkfd/ |
H A D | forkfd.c | 640 int death_pipe[2]; in forkfd() local 665 if (create_pipe(death_pipe, flags) == -1) in forkfd() 720 info->deathPipe = death_pipe[1]; in forkfd() 721 fd = death_pipe[0]; in forkfd() 757 EINTR_LOOP(ret, close(death_pipe[0])); in forkfd() 758 EINTR_LOOP(ret, close(death_pipe[1])); in forkfd() 774 int death_pipe[2]; in spawnfd() local 808 info->deathPipe = death_pipe[1]; in spawnfd() 815 ret = death_pipe[0]; in spawnfd() 819 EINTR_LOOP(ret, close(death_pipe[0])); in spawnfd() [all …]
|
/dports/devel/qt5-qmake/kde-qtbase-5.15.2p263/src/3rdparty/forkfd/ |
H A D | forkfd.c | 640 int death_pipe[2]; in forkfd() local 665 if (create_pipe(death_pipe, flags) == -1) in forkfd() 720 info->deathPipe = death_pipe[1]; in forkfd() 721 fd = death_pipe[0]; in forkfd() 757 EINTR_LOOP(ret, close(death_pipe[0])); in forkfd() 758 EINTR_LOOP(ret, close(death_pipe[1])); in forkfd() 774 int death_pipe[2]; in spawnfd() local 808 info->deathPipe = death_pipe[1]; in spawnfd() 815 ret = death_pipe[0]; in spawnfd() 819 EINTR_LOOP(ret, close(death_pipe[0])); in spawnfd() [all …]
|
/dports/print/qt5-printsupport/kde-qtbase-5.15.2p263/src/3rdparty/forkfd/ |
H A D | forkfd.c | 640 int death_pipe[2]; in forkfd() local 665 if (create_pipe(death_pipe, flags) == -1) in forkfd() 720 info->deathPipe = death_pipe[1]; in forkfd() 721 fd = death_pipe[0]; in forkfd() 757 EINTR_LOOP(ret, close(death_pipe[0])); in forkfd() 758 EINTR_LOOP(ret, close(death_pipe[1])); in forkfd() 774 int death_pipe[2]; in spawnfd() local 808 info->deathPipe = death_pipe[1]; in spawnfd() 815 ret = death_pipe[0]; in spawnfd() 819 EINTR_LOOP(ret, close(death_pipe[0])); in spawnfd() [all …]
|
/dports/graphics/qt5-opengl/kde-qtbase-5.15.2p263/src/3rdparty/forkfd/ |
H A D | forkfd.c | 640 int death_pipe[2]; in forkfd() local 665 if (create_pipe(death_pipe, flags) == -1) in forkfd() 720 info->deathPipe = death_pipe[1]; in forkfd() 721 fd = death_pipe[0]; in forkfd() 757 EINTR_LOOP(ret, close(death_pipe[0])); in forkfd() 758 EINTR_LOOP(ret, close(death_pipe[1])); in forkfd() 774 int death_pipe[2]; in spawnfd() local 808 info->deathPipe = death_pipe[1]; in spawnfd() 815 ret = death_pipe[0]; in spawnfd() 819 EINTR_LOOP(ret, close(death_pipe[0])); in spawnfd() [all …]
|
/dports/multimedia/mpv/mpv-0.34.1/osdep/ |
H A D | terminal-unix.c | 384 static int death_pipe[2] = {-1, -1}; variable 389 if (death_pipe[n] >= 0) in close_death_pipe() 390 close(death_pipe[n]); in close_death_pipe() 391 death_pipe[n] = -1; in close_death_pipe() 407 (void)write(death_pipe[1], &(char){1}, 1); in quit_request_sighandler() 417 { .events = POLLIN, .fd = death_pipe[0] }, in terminal_thread() 436 bool quit = read(death_pipe[0], &c, 1) == 1 && c == 1; in terminal_thread() 451 if (mp_make_wakeup_pipe(death_pipe) < 0) in terminal_setup_getch() 488 (void)write(death_pipe[1], &(char){0}, 1); in terminal_uninit()
|
/dports/net/openmpi3/openmpi-3.1.6/orte/mca/ess/singleton/ |
H A D | ess_singleton_module.c | 348 int p[2], death_pipe[2]; in fork_hnp() local 377 if (pipe(death_pipe) < 0) { in fork_hnp() 411 asprintf(¶m, "%d", death_pipe[0]); in fork_hnp() 452 close(death_pipe[0]); in fork_hnp() 453 close(death_pipe[1]); in fork_hnp() 461 close(death_pipe[1]); in fork_hnp() 501 close(death_pipe[0]); /* parent closes the death_pipe's read */ in fork_hnp()
|
/dports/net/openmpi/openmpi-4.1.1/orte/mca/ess/singleton/ |
H A D | ess_singleton_module.c | 532 int p[2], death_pipe[2]; in fork_hnp() local 561 if (pipe(death_pipe) < 0) { in fork_hnp() 595 asprintf(¶m, "%d", death_pipe[0]); in fork_hnp() 636 close(death_pipe[0]); in fork_hnp() 637 close(death_pipe[1]); in fork_hnp() 645 close(death_pipe[1]); in fork_hnp() 685 close(death_pipe[0]); /* parent closes the death_pipe's read */ in fork_hnp()
|