Main Page Class Hierarchy Compound List File List Compound Members File Members

# threads_ew.c File Reference

`#include <windows.h>`
`#include <process.h>`

Go to the source code of this file.

## Functions
int | StartThread (void fun(void *), unsigned stack_size, unsigned *thread_id)
int | StartThreadWithArg (void fun(void *), void *arg, unsigned stack_size, unsigned *thread_id)
int | KillSelfThread (void)
int | WaitThread (unsigned *thread_id)
int | KillThread (unsigned int tid)

## Function Documentation

int KillSelfThread | ( | void |  | ) |

| Definition at line 104 of file threads_ew.c.

int KillThread | ( | unsigned int | tid | ) |

| Definition at line 149 of file threads_ew.c.

int StartThread | ( | void | fun(void *),
|  | unsigned | stack_size,
|  | unsigned * | thread_id
| ) |

| Definition at line 49 of file threads_ew.c.

int StartThreadWithArg | ( | void | fun(void *),
|  | void * | arg,
|  | unsigned | stack_size,
|  | unsigned * | thread_id
| ) |

| Definition at line 83 of file threads_ew.c.

int WaitThread | ( | unsigned * | thread_id | ) |

| Definition at line 124 of file threads_ew.c.