Displaying 2 results from an estimated 2 matches for "ithreadid".
Did you mean:
threadid
2009 Jan 07
3
[LLVMdev] LLVM optmization
...uffer[64];
unsigned long systime = secs();
unsigned long milisectime = milisecs()%1000;
sprintf(buffer,"%02d:%02d:%02d:%03d",systime/3600,(systime%3600)/60,(systime%3600)%60,milisectime);
return (const char*) buffer;
};
//fim cronometro
int main(int a, char **b)
{
int i;
DWORD iThreadId;
HANDLE mainThread[num_th];
tfim = 0;
tini = GetTickCount();
for(i=0; i< num_th;i++)
mainThread[i] = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)thread_call, (LPVOID)TESTE, 0, (DWORD *)&iThreadId);
//WaitForMultipleObjects( num_th, (const HANDLE* )mainThread, TRUE, INFINITE...
2009 Jan 08
0
[LLVMdev] LLVMdev Digest, Vol 55, Issue 16
...0;
> > sprintf(buffer,"%02d:%02d:%02d:%03d",systime/3600,(systime%3600)/60,(systime%3600)%60,milisectime);
> > return (const char*) buffer;
> > };
> > //fim cronometro
> > int main(int a, char **b)
> > {
> > int i;
> > DWORD iThreadId;
> > HANDLE mainThread[num_th];
> > tfim = 0;
> > tini = GetTickCount();
>
> You're starting your count ...
>
> > for(i=0; i< num_th;i++)
> > mainThread[i] = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)t...