Home
last modified time | relevance | path

Searched refs:childPid (Results 1 – 25 of 291) sorted by relevance

12345678910>>...12

/dports/devel/ptlib/ptlib-2.10.11/src/ptlib/unix/
H A Dpipechan.cxx127 childPid = fork(); in PlatformOpen()
129 childPid = vfork(); in PlatformOpen()
131 if (childPid < 0) in PlatformOpen()
134 if (childPid > 0) { in PlatformOpen()
282 childPid = 0; in Close()
333 if (childPid == 0) in IsRunning()
343 if (err != childPid) in IsRunning()
372 if (childPid == 0) in WaitForTermination()
382 childPid = 0; in WaitForTermination()
410 if (childPid == 0) in WaitForTermination()
[all …]
/dports/www/mozplugger/mozplugger-2.1.6/
H A Dmozplugger-controller.c49 pid_t childPid; member
166 if(sig_globals.childPid > 0) in my_play()
184 if(sig_globals.childPid > 0) in my_pause()
198 if(sig_globals.childPid > 0) in low_die()
200 kill_app(sig_globals.childPid); in low_die()
212 if(sig_globals.childPid > 0) in my_stop()
219 kill_app(sig_globals.childPid); in my_stop()
220 sig_globals.childPid = -1; in my_stop()
444 terminate(sig_globals.childPid, dpy); in check_pipe_fd_events()
743 sig_globals.childPid = -1; in main()
[all …]
H A Dmozplugger-linker.c63 pid_t childPid; member
90 GC c = (sig_globals.childPid > 0) ? gc_offColor : gc_onColor; in redrawButton()
142 if(sig_globals.childPid > 0) in my_start()
187 terminate(sig_globals.childPid, sig_globals.dpy); in low_die()
262 pid_t tmp = sig_globals.childPid; in check_x_events()
269 if(tmp != sig_globals.childPid) in check_x_events()
368 terminate(sig_globals.childPid, sig_globals.dpy); in check_pipe_fd_events()
593 sig_globals.childPid = -1; in main()
644 if(sig_globals.childPid > 0) in main()
646 int status = wait_child(sig_globals.childPid); in main()
[all …]
/dports/editors/fxite/fxite-FXITE-0_92/jef/
H A Drun_unx.cpp150 pid_t childPid; in forkCommand() local
165 childPid = fork(); in forkCommand()
167 if (0 == childPid) { in forkCommand()
199 if (-1 == childPid ) { in forkCommand()
205 return childPid; in forkCommand()
218 childPid=-1; in cleanup()
235 if (childPid==(-1)) { in run()
249 wpid = waitpid(childPid,&wstatus,WNOHANG); in run()
256 kill(childPid,SIGKILL); in run()
260 waitpid(childPid,&wstatus,0); in run()
[all …]
/dports/math/vampire/vampire-4.5.1/Lib/Sys/
H A DMultiprocessing.cpp101 pid_t childPid; in waitForChildTermination() local
105 childPid = wait(&status); in waitForChildTermination()
106 if(childPid==-1) { in waitForChildTermination()
118 return childPid; in waitForChildTermination()
130 pid_t childPid; in waitForChildTerminationOrTime() local
136 childPid = waitpid(WAIT_ANY,&status,WNOHANG); in waitForChildTerminationOrTime()
137 if(childPid==-1) { in waitForChildTerminationOrTime()
140 if(childPid==0) { in waitForChildTerminationOrTime()
161 return childPid; in waitForChildTerminationOrTime()
/dports/www/firefox/firefox-99.0/tools/profiler/gecko/
H A DnsProfiler.cpp750 unsigned(aPendingProfile.childPid)); in SendProgressRequest()
761 childPid = aPendingProfile.childPid](GatherProfileProgress&& aResult) { in SendProgressRequest()
769 unsigned(childPid), in SendProgressRequest()
793 [self = RefPtr<nsProfiler>(this), childPid = aPendingProfile.childPid]( in SendProgressRequest()
801 unsigned(childPid), (int)aReason, in SendProgressRequest()
854 unsigned(pendingProfile.childPid)); in GatheringTimerCallback()
860 unsigned(pendingProfile.childPid)); in GatheringTimerCallback()
865 unsigned(pendingProfile.childPid)); in GatheringTimerCallback()
878 unsigned(pendingProfile.childPid)); in GatheringTimerCallback()
1082 childPid = profile.childPid](mozilla::ipc::Shmem&& aResult) { in StartGathering()
[all …]
/dports/devel/fossil/fossil-src-2.17/src/
H A Dfshell.c60 pid_t childPid; in shell_cmd()
111 childPid = fork(); in shell_cmd()
112 if( childPid<0 ){ in shell_cmd()
117 if( childPid==0 ){ in shell_cmd()
125 waitpid(childPid, &status, 0); in shell_cmd()
/dports/net/icpld/icpld-1.1.5/src/
H A Ddaemonize.cpp29 int childPid; in daemonize() local
46 childPid=fork(); in daemonize()
47 switch (childPid) in daemonize()
53 cout << "Forking into background as " << childPid << endl; in daemonize()
/dports/security/honggfuzz/honggfuzz-0.7/linux/
H A Darch.c222 pid_t childPid = fuzzer->pid; in arch_reapChild() local
229 if (arch_ptraceWaitForPidStop(childPid) == false) { in arch_reapChild()
230 LOG_F("PID %d not in a stopped state", childPid); in arch_reapChild()
232 LOG_D("PID: %d is in a stopped state now", childPid); in arch_reapChild()
239 if (ptracePid != childPid) { in arch_reapChild()
270 if (kill(childPid, SIGCONT) == -1) { in arch_reapChild()
271 PLOG_F("Restarting PID: %d failed", childPid); in arch_reapChild()
294 if (ptracePid == childPid) { in arch_reapChild()
298 if (pid == childPid && (WIFEXITED(status) || WIFSIGNALED(status))) { in arch_reapChild()
301 if (pid == childPid) { in arch_reapChild()
/dports/devel/dbus-sharp/dbus-sharp-0.8.1/src/
H A DDaemon.cs104 int childPid; in Main()
106 childPid = (int)UnixSocket.fork (); in Main()
110 childPid = System.Diagnostics.Process.GetCurrentProcess ().Id; in Main()
112 if (childPid != 0) { in Main()
149 int pid = childPid; in Main()
160 if (shouldFork && childPid != 0) { in Main()
/dports/www/matomo/piwik/core/CronArchive/Performance/
H A DLogger.php69 public static function getMeasurementsFor($runId, $childPid) argument
77 $childPid = self::cleanId($childPid);
79 $lineIdentifier = "[runid=$runId,pid=$childPid]";
80 $lines = `grep "$childPid" "$profilingLogFile"`;
/dports/devel/efl/efl-1.25.1/src/examples/ecore/
H A Decore_exe_example.c59 pid_t childPid; in main() local
76 childPid = ecore_exe_pid_get(childHandle); in main()
78 if (childPid == -1) in main()
81 printf("The child process has PID:%u\n", (unsigned int)childPid); in main()
/dports/devel/hadoop/hadoop-1.2.1/src/test/org/apache/hadoop/mapred/
H A DTestKillSubProcesses.java198 String childPid = UtilsForTests.getPidFromPidFile( in runJobAndSetProcessHandle() local
200 while(childPid == null) { in runJobAndSetProcessHandle()
208 childPid = UtilsForTests.getPidFromPidFile( in runJobAndSetProcessHandle()
217 childPid = UtilsForTests.getPidFromPidFile( in runJobAndSetProcessHandle()
221 " is " + childPid); in runJobAndSetProcessHandle()
224 isAlive(childPid)); in runJobAndSetProcessHandle()
251 String childPid = UtilsForTests.getPidFromPidFile( in validateKillingSubprocesses() local
255 " is " + childPid); in validateKillingSubprocesses()
258 !isAlive(childPid)); in validateKillingSubprocesses()
404 while (childPid == null) { in runChildren()
[all …]
/dports/audio/jack/jack2-eaedec353489f26617221d66f80fd2503953c663/android/
H A DAndroidShm.cpp70 int childPid = fork(); in testGetBufferByNewProcess() local
72 if(childPid > 0) { in testGetBufferByNewProcess()
73 ALOGI("I(pid%d) made a child process(pid:%d)", getpid(), childPid); in testGetBufferByNewProcess()
74 ALOGI("I(pid%d) wait until child(%d) was finish", getpid(), childPid); in testGetBufferByNewProcess()
77 ALOGI("child(%d) was finished. ", childPid); in testGetBufferByNewProcess()
78 } else if(childPid == 0) { in testGetBufferByNewProcess()
/dports/databases/pecl-mongodb/mongodb-1.9.1/tests/session/
H A Dbug1274-001.phpt31 $childPid = pcntl_fork();
33 if ($childPid === 0) {
38 if ($childPid > 0) {
39 $waitPid = pcntl_waitpid($childPid, $status);
41 if ($waitPid === $childPid) {
/dports/databases/pecl-mongodb/mongodb-1.9.1/tests/cursor/
H A Dbug1274-001.phpt57 $childPid = pcntl_fork();
59 if ($childPid === 0) {
64 if ($childPid > 0) {
65 $waitPid = pcntl_waitpid($childPid, $status);
67 if ($waitPid === $childPid) {
/dports/math/vampire/vampire-4.5.1/Shell/
H A DBFNTMainLoop.cpp141 pid_t childPid=Multiprocessing::instance()->fork(); in spawnChild() local
143 if(!childPid) { in spawnChild()
153 pid_t res=waitpid(childPid, &status, 0); in spawnChild()
162 if(res!=childPid) { in spawnChild()
163 …id waitpid return value: "+Int::toString(res)+" pid of forked Vampire: "+Int::toString(childPid)); in spawnChild()
/dports/misc/usd/USD-21.11/pxr/base/arch/testenv/
H A DtestArchUtil.cpp155 int childPid; in ArchTestCrash() local
156 if ( (childPid = fork()) == 0 ) { in ArchTestCrash()
160 else if (childPid == -1) { in ArchTestCrash()
166 ARCH_AXIOM(childPid == wait(&status)); in ArchTestCrash()
/dports/net/storj/storj-1.45.3/vendor/github.com/cloudfoundry/gosigar/psnotify/
H A Dpsnotify_test.go219 childPid := cmd.Process.Pid
222 if err := tw.watcher.Watch(childPid, PROC_EVENT_EXIT); err != nil {
227 syscall.Kill(childPid, syscall.SIGTERM)
238 expectEventPid(t, "exit", childPid, tw.events.getExits()[0])
258 childPid := cmd.Process.Pid
260 if err := tw.watcher.Watch(childPid, PROC_EVENT_EXIT); err != nil {
264 syscall.Kill(childPid, syscall.SIGTERM)
277 expectEventPid(t, "exit", childPid, tw.events.getExits()[0])
/dports/converters/wkhtmltopdf/qt-5db36ec/src/corelib/io/
H A Dqprocess_unix.cpp689 if (childPid != 0) { in startProcess()
714 if (childPid < 0) { in startProcess()
729 if (childPid == 0) { in startProcess()
886 pid_t childPid; in doSpawn() local
888 if (childPid == -1) { in doSpawn()
900 return childPid; in doSpawn()
940 if (childPid == -1) { in spawnChild()
947 return childPid; in spawnChild()
1358 *pid = childPid; in startDetached()
1384 if (childPid == 0) { in startDetached()
[all …]
/dports/databases/pecl-mongodb/mongodb-1.9.1/tests/manager/
H A Dbug0912-001.phpt28 $childPid = pcntl_fork();
30 if ($childPid === 0) {
36 if ($childPid) {
37 $waitPid = pcntl_waitpid($childPid, $status);
/dports/devel/kio-extras/kio-extras-21.12.3/fish/
H A Dfish.cpp98 static pid_t childPid; variable
240 childPid = 0; in fishProtocol()
281 if (childPid) return; in openConnection()
395 childPid->start(); in connectionStart()
423 childPid = fork(); in connectionStart()
424 if (childPid == -1) { in connectionStart()
428 childPid = 0; in connectionStart()
431 if (childPid == 0) { in connectionStart()
745 if (childPid) {
752 childPid = 0;
[all …]
/dports/net-p2p/rtorrent/rtorrent-0.9.8/src/rpc/
H A Dexec_file.cc86 pid_t childPid = fork(); in execute() local
88 if (childPid == -1) in execute()
91 if (childPid == 0) { in execute()
170 wpid = waitpid(childPid, &status, 0); in execute()
175 if (wpid != childPid) in execute()
/dports/science/opensph/sph-7de6c044339f649e3d19e61f735a6a24572b792a/core/system/
H A DProcess.cpp44 childPid = pid; in Process()
56 pid = waitpid(childPid, &status, 0); in wait()
57 } while (pid != childPid && status != -1); in wait()
/dports/devel/pecl-swoole/swoole-4.8.5/tests/include/lib/src/
H A DProcessManager.php51 protected $childPid; variable in SwooleTest\\ProcessManager
89 return $this->childPid;
244 if (!$this->alone and !$this->killed and $this->childPid) {
246 if ($force || (!@Process::kill($this->childPid) && swoole_errno() !== PCNTL_ESRCH)) {
247 if (!@Process::kill($this->childPid, SIGKILL) && swoole_errno() !== PCNTL_ESRCH) {
309 $this->runParentFunc($this->childPid = $this->childProcess->pid);

12345678910>>...12