Searched refs:my_pid (Results 1 - 13 of 13) sorted by relevance

/macosx-10.10.1/ntp-92/libopts/
H A Dpgusage.c55 static pid_t my_pid;
69 my_pid = getpid();
71 snprintf(zPageUsage, sizeof(zPageUsage), "/tmp/use.%lu", (tAoUL)my_pid);
73 sprintf( zPageUsage, "/tmp/use.%lu", (tAoUL)my_pid );
116 snprintf(zPageUsage, sizeof(zPageUsage), zPage, pzPager, (tAoUL)my_pid);
118 sprintf( zPageUsage, zPage, pzPager, (tAoUL)my_pid );
/macosx-10.10.1/ntp-92/sntp/libopts/
H A Dpgusage.c55 static pid_t my_pid;
69 my_pid = getpid();
71 snprintf(zPageUsage, sizeof(zPageUsage), "/tmp/use.%lu", (tAoUL)my_pid);
73 sprintf( zPageUsage, "/tmp/use.%lu", (tAoUL)my_pid );
116 snprintf(zPageUsage, sizeof(zPageUsage), zPage, pzPager, (tAoUL)my_pid);
118 sprintf( zPageUsage, zPage, pzPager, (tAoUL)my_pid );
/macosx-10.10.1/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A Dmisc.c175 pid_t my_pid, my_wait_pid; local
184 my_pid = vfork();
185 if (my_pid == -1) {
189 if ( my_pid == 0 ) {
211 my_err = kill( my_pid, SIGKILL );
218 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
225 if ( my_wait_pid != my_pid ) {
226 printf( "wait4 did not return child pid - returned %d should be %d \n", my_wait_pid, my_pid );
256 int my_err, my_pid, my_status; local
276 my_err = posix_spawn(&my_pid, arg
[all...]
H A Dmemory_tests.c44 pid_t my_pid, my_wait_pid; local
86 my_pid = fork( );
87 if ( my_pid == -1 ) {
91 if ( my_pid == 0 ) {
293 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
300 if ( my_wait_pid != my_pid ) {
301 printf( "wait4 did not return child pid - returned %d should be %d \n", my_wait_pid, my_pid );
H A Dsocket_tests.c25 pid_t my_pid, my_wait_pid; local
116 my_pid = fork( );
117 if ( my_pid == -1 ) {
121 if ( my_pid == 0 ) {
369 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
409 pid_t my_pid, my_wait_pid; local
487 my_pid = fork( );
488 if ( my_pid == -1 ) {
492 if ( my_pid == 0 ) {
573 my_wait_pid = wait4( my_pid,
[all...]
H A Dkqueue_tests.c147 pid_t my_pid, my_wait_pid; local
185 my_pid = fork( );
186 if ( my_pid == -1 ) {
190 else if ( my_pid == 0 ) {
257 EV_SET( &my_keventv[1], my_pid, EVFILT_PROC, (EV_ADD | EV_ONESHOT), NOTE_EXIT, 0, 0 );
268 EV_SET64( &my_kevent64, my_pid, EVFILT_PROC, EV_ADD, NOTE_EXIT, 0, 0, 0, 0 );
276 EV_SET64( &my_kevent64, my_pid, EVFILT_PROC, EV_ADD, NOTE_EXIT, 0, 0, 0, 0 );
337 EV_SET64( &my_kevent64, my_pid, EVFILT_PROC, EV_CLEAR, NOTE_EXIT, 0, 0, 0, 0 );
358 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
365 if ( my_wait_pid != my_pid ) {
[all...]
H A Dtests.c126 pid_t my_pid, my_wait_pid; local
130 my_pid = fork( );
131 if ( my_pid == -1 ) {
135 else if ( my_pid == 0 ) {
149 my_wait_pid = wait4( my_pid, &my_status, 0, &my_usage );
156 if ( my_wait_pid != my_pid ) {
157 printf( "wait4 did not return child pid - returned %d should be %d \n", my_wait_pid, my_pid );
1520 pid_t my_pid, my_wait_pid; local
1540 my_pid = fork( );
1541 if ( my_pid
1626 pid_t my_pid, my_wait_pid; local
2017 pid_t my_pid, my_wait_pid; local
2486 pid_t my_pid, my_wait_pid; local
2737 pid_t my_pid, my_wait_pid; local
2858 pid_t my_pid, my_wait_pid; local
3174 pid_t my_pid, my_wait_pid; local
3279 pid_t my_session_id, my_pid, my_process_group; local
3789 pid_t my_pid, my_wait_pid; local
3907 pid_t my_pid, my_wait_pid; local
5079 int my_pid, my_status, ret; local
[all...]
/macosx-10.10.1/xnu-2782.1.97/tools/tests/xnu_quick_test/helpers/
H A Dlaunch.c32 pid_t my_pid, my_wait_pid; local
/macosx-10.10.1/apache-793/httpd/server/mpm/winnt/
H A Dmpm_winnt.h73 extern DWORD my_pid;
H A Dmpm_winnt.c82 DWORD my_pid; variable
206 if (parent_pid == my_pid) {
1042 my_pid = GetCurrentProcessId();
1090 parent_pid = my_pid = GetCurrentProcessId();
1410 is_parent = (parent_pid == my_pid);
1556 if (parent_pid == my_pid)
1614 else /* parent_pid != my_pid */
1628 if (parent_pid != my_pid) {
1697 if (!restart && ((parent_pid == my_pid) || one_process)) {
1704 if ((parent_pid != my_pid) || one_proces
[all...]
H A Dchild.c987 if (parent_pid != my_pid) {
/macosx-10.10.1/apache-793/httpd/server/
H A Dmpm_unix.c910 static pid_t parent_pid, my_pid; variable
948 my_pid != parent_pid) {
950 ei.pid = my_pid;
994 my_pid = getpid();
1060 parent_pid = my_pid = getpid();
/macosx-10.10.1/apache-793/httpd/server/mpm/mpmt_os2/
H A Dmpmt_os2_child.c99 int my_pid = getpid(); local
148 for (child_slot = 0; ap_scoreboard_image->parent[child_slot].pid != my_pid && child_slot < HARD_SERVER_LIMIT; child_slot++);
162 rc = DosCreateQueue(&workq, QUE_FIFO, apr_psprintf(pchild, "/queues/httpd/work.%d", my_pid));

Completed in 264 milliseconds