Lines Matching refs:pSessionThread

1812     PVBOXSERVICECTRLSESSIONTHREAD pSessionThread =
1814 if (pSessionThread)
1817 memcpy(&pSessionThread->StartupInfo, pSessionStartupInfo,
1820 pSessionThread->fShutdown = false;
1821 pSessionThread->fStarted = false;
1822 pSessionThread->fStopped = false;
1826 bool fAnonymous = !RT_BOOL(strlen(pSessionThread->StartupInfo.szUser));
1829 Assert(!strlen(pSessionThread->StartupInfo.szPassword));
1830 Assert(!strlen(pSessionThread->StartupInfo.szDomain));
1852 rc = RTCritSectInit(&pSessionThread->CritSect);
1863 if (!RTStrPrintf(szParmUserName, sizeof(szParmUserName), "--user=%s", pSessionThread->StartupInfo.szUser))
1868 pSessionThread->StartupInfo.uSessionID))
1874 pSessionThread->StartupInfo.uProtocol))
2087 !fAnonymous ? pSessionThread->StartupInfo.szUser : NULL,
2088 !fAnonymous ? pSessionThread->StartupInfo.szPassword : NULL,
2089 &pSessionThread->hProcess);
2107 rc = RTThreadCreateF(&pSessionThread->Thread, gstcntlSessionThread,
2108 pSessionThread /*pvUser*/, 0 /*cbStack*/,
2117 rc = RTThreadUserWait(pSessionThread->Thread, 60 * 1000 /* 60s timeout */);
2118 if ( ASMAtomicReadBool(&pSessionThread->fShutdown)
2122 pSessionThread->StartupInfo.uSessionID, rc);
2129 pSessionThread->StartupInfo.uSessionID);
2131 ASMAtomicXchgBool(&pSessionThread->fStarted, true);
2134 /* rc = */ RTListAppend(pList, &pSessionThread->Node);
2136 *ppSessionThread = pSessionThread;
2143 RTMemFree(pSessionThread);
2246 PVBOXSERVICECTRLSESSIONTHREAD pSessionThread
2248 while (pSessionThread)
2251 RTListGetNext(pList, pSessionThread, VBOXSERVICECTRLSESSIONTHREAD, Node);
2252 bool fLast = RTListNodeIsLast(pList, &pSessionThread->Node);
2254 int rc2 = GstCntlSessionThreadDestroy(pSessionThread, uFlags);
2266 pSessionThread = pSessionThreadNext;