C Beginthread Example - C

What is c beginthread ?

Snippet Code

Rate this page :
  [ 0 votes]

Beginthread is used to create a thread which begins the execution of a new thread. Here,the explanation for beginthread() in c is given below.

_beginthread() is C runtime library calls that call CreateThread() behind the scenes. Once CreateThread() has returned, _beginthread() takes care of additional bookkeeping to make the C runtime library usable ampconsistent in the new thread. Example: _beginthread( myFunc, 0, (void*) amparg);


Ask Questions

Ask Question