Jump to content

Beginthread

From EDM2
Revision as of 06:14, 4 November 2007 by Myrkraverk (talk | contribs) (attempt to doc _beginthread())
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Prototype:

#include <process.h> 
int _beginthread( void (*thread_function)( void* ), void *stack, unsigned int stack_size, void *arg );
  • 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.

Back to C Library Reference