S
Sanny
I want to assign a unique integer value to each thread.
That integer value is needed to keep track which thread is currently
running.
callfunction1() Called by Thread 1.
callfunction1() Called by Thread 2.
callfunction1() Called by Thread 3.
callfunction1() Called by Thread 4.
Now I want to know in function which thread is Called
if Thread 1 then function will use array[1] value;
if Thread 2 then function will use array[2] value;
if Thread 3 then function will use array[3] value;
if Thread 4 then function will use array[4] value;
How to know in the function the Thread Number.
I want someway to assign an Unique Integer to each thread
Bye
Sanny
That integer value is needed to keep track which thread is currently
running.
callfunction1() Called by Thread 1.
callfunction1() Called by Thread 2.
callfunction1() Called by Thread 3.
callfunction1() Called by Thread 4.
Now I want to know in function which thread is Called
if Thread 1 then function will use array[1] value;
if Thread 2 then function will use array[2] value;
if Thread 3 then function will use array[3] value;
if Thread 4 then function will use array[4] value;
How to know in the function the Thread Number.
I want someway to assign an Unique Integer to each thread
Bye
Sanny