Lines Matching defs:pid
140 void VirtualBox::ClientWatcher::addProcess(RTPROCESS pid)
146 mProcesses.push_back(pid);
289 ULONG pid;
290 HRESULT hrc = (*it)->COMGETTER(SessionPID)(&pid);
293 HANDLE ph = OpenProcess(SYNCHRONIZE, FALSE, pid);
294 AssertMsg(ph != NULL, ("OpenProcess (pid=%d) failed with %d\n",
295 pid, GetLastError()));
401 PID pid; TID tid;
403 arc = DosQueryMutexSem((HMTX)handles[i].hsemCur, &pid, &tid, &reqCnt);
637 RTPROCESS pid = *it;
639 int vrc = ::RTProcWait(pid, RTPROCWAIT_FLAGS_NOBLOCK, &status);
650 pid, pid, status.iStatus, status.iStatus));
654 pid, pid, status.iStatus, status.iStatus));
658 pid, pid, status.iStatus, status.iStatus));
663 LogFlowFunc(("pid %d (%x) was reaped, status=%d, reason=%d\n",
664 pid, pid, status.iStatus,
670 LogFlowFunc(("pid %d (%x) was NOT reaped, vrc=%Rrc\n",
671 pid, pid, vrc));
738 * from the pid to the corresponding machine object. Both cases do
785 RTPROCESS pid = *it;
787 int vrc = ::RTProcWait(pid, RTPROCWAIT_FLAGS_NOBLOCK, &status);
798 pid, pid, status.iStatus, status.iStatus));
802 pid, pid, status.iStatus, status.iStatus));
806 pid, pid, status.iStatus, status.iStatus));
811 LogFlowFunc(("pid %d (%x) was reaped, status=%d, reason=%d\n",
812 pid, pid, status.iStatus,
818 LogFlowFunc(("pid %d (%x) was NOT reaped, vrc=%Rrc\n",
819 pid, pid, vrc));