aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/local_includes/create_posix_thread.h
blob: cf5af10d8a79bc4bd3923d0077667444ae65aa24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* create_posix_thread.h

This file is part of Cygwin.

This software is a copyrighted work licensed under the terms of the
Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
details. */

#pragma once

extern "C"
{

  PVOID create_new_main_thread_stack (PVOID &allocationbase);
  DWORD pthread_wrapper (PVOID arg);
  HANDLE create_posix_thread (LPTHREAD_START_ROUTINE thread_func,
			      PVOID thread_arg, PVOID stackaddr,
			      ULONG stacksize, ULONG guardsize,
			      DWORD creation_flags, LPDWORD thread_id);

}