.
D 2005-12-20T21:40:50
J icomment Logged\sIn:\sYES\s\nuser_id=130120\n\nI\sstill\sget\san\sexception\sbut\sthis\stime\sin\sa\sdifferent\splace.\n\s\s\s\nTclpGetPid(\n\s\s\s\sTcl_Pid\spid)/*\sThe\sHANDLE\sof\sthe\schild\s\nprocess.\s*/\n{\n\s\s\s\sProcInfo\s*infoPtr;\n\n\s\s\s\sTcl_MutexLock(&pipeMutex);\n\s\s\s\sfor\s(infoPtr\s=\sprocList;\sinfoPtr\s!=\sNULL;\sinfoPtr\s=\s\ninfoPtr->nextPtr)\s{\n==>if\s(infoPtr->hProcess\s==\s(HANDLE)\spid)\s{\nunsigned\slong\sprocessId\s=\sinfoPtr-\n>dwProcessId;\n\s\s\s\sTcl_MutexUnlock(&pipeMutex);\n\s\s\s\sreturn\sprocessId;\n}\n\s\s\s\s}\n\s\s\s\sTcl_MutexUnlock(&pipeMutex);\n\s\s\s\sreturn\s(unsigned\slong)\s-1;\n}\n\n
J login yahalom
J mimetype text/plain
J username yahalom
K 1381436fffffffffffffffffffffffffffffffff
U yahalom
Z 5388517d8589f557b4126f958c4e303d