how can i pass a parameter in a thread in ansi c?
Posted
by moon
on Stack Overflow
See other posts from Stack Overflow
or by moon
Published on 2010-05-27T05:16:59Z
Indexed on
2010/05/27
5:21 UTC
Read the original article
Hit count: 163
Filed under:
c
int NM_Generator = 1;
//Aray to store thread handles
HANDLE Array_Of_Thread_Handles[1];
//variable to hold handle of North pulse
HANDLE Handle_Of_NM_Generator = 0;
//Create NM_Generator Thread
Handle_Of_NM_Generator = CreateThread( NULL, 0, NMGenerator, &dDifference, 0, NULL);
if ( Handle_Of_NM_Generator == NULL) ExitProcess(NM_Generator);
i want to pass a parameter double value in it how can i do so?
© Stack Overflow or respective owner