I'm xth thread, how to understand that?
Posted on 2008-10-19
I'm going to develop a network computer up-time checker, first it scans network and finds all computer and I store them in char array with an index
It have IP address of Computers, I want to create thread per computer, but in thread, IN ENTIRE THREAD, I want to have a number which shows it's Xth thread, thread will be like this:
VOID WINAPI MyThread()
I want to have my thread number in ALL functions that thread calls.
Is it possible? Please advice.
Thanks from now!