Timer Multithreading in Microsoft C
Hi C Gurus,
I am a database person on UNIX and programmed in a number 4 gl, but new to Microsoft c - I need to understand timers, multiple threads if any one have simple examples of codes of:
thread that sleeps for a set time, and upon waking, forces the main running program to exit/ examples of WaitForSingleObject.
Thanks.
Timer Multithreading in Microsoft C
Hi,
Thanks for the reply perhaps I was not clear - I was referring to the Command Line Microsoft c compiler (cl) part of visual Studio 2008 as "microsoft c"
Timer Multithreading in Microsoft C
Sorry - I don't understand the meaning of your picture - are you saying refer to the
book if so then this book is so old and only available from specialist shop.
What I am looking for is a sample code to set a time from a main program
when the time is up them it should interrupt the main program (processeing user input input rquests)