summaryrefslogtreecommitdiff
path: root/exit.c
blob: af1f50fb85d75219e4b806e470d1945993993d6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * exit.c
 *
 * Description:
 * This translation unit implements routines associated with exiting from
 * a thread.
 */

#include "pthread.h"

void pthread_exit(void * value)
{
  /* The semantics are such that additional tasks must be done for
     strict POSIX conformance.  We must add code here later which 
     deals with executing cleanup handlers and such.  For now, the
     following is mostly correct: */

  ExitThread((DWORD) value);
}