mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
576 B
31 lines
576 B
/*++
|
|
|
|
Copyright (c) 2000-2001, Microsoft Corporation All rights reserved.
|
|
|
|
Module Name:
|
|
|
|
threads.h
|
|
|
|
Abstract:
|
|
|
|
Header file for threads.c
|
|
|
|
Revision History:
|
|
|
|
01 Mar 2001 v-michka Created.
|
|
|
|
--*/
|
|
|
|
#ifndef THREADS_H
|
|
#define THREADS_H
|
|
|
|
UINT g_tls; // GODOT TLS slot - lots of thread-specific info here
|
|
CRITICAL_SECTION g_csThreads; // Our critical section object for thread data (use sparingly!)
|
|
|
|
// Thread stuff
|
|
LPGODOTTLSINFO GetThreadInfoSafe(BOOL fAllocate);
|
|
void UninitThread(void);
|
|
void UninitAllThreads(void);
|
|
|
|
#endif // THREADS_H
|
|
|