Beginthread

Prototype: int _beginthread( void (*thread_function)( void* ),                  void *stack,                   unsigned int stack_size,                   void *arg );
 * 1) include 


 * thread_function is a pointer to the initial funcion.
 * stack is ignored; left for compatibility.
 * stack_size is the size of the stack for the thread.
 * arg is passed to thread_funcion.

Returns the thread ID of the newly created thread.