mirror of https://github.com/lianthony/NT4.0
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.
42 lines
1.0 KiB
42 lines
1.0 KiB
/*
|
|
* SoftPC Revision 3.0
|
|
*
|
|
* Title : Thread control structures/ Macros / variables
|
|
*
|
|
* Description :
|
|
*
|
|
* Contains structures/macros/variables used to control and
|
|
* log threads
|
|
*
|
|
* Author : Dave Barteltt
|
|
*
|
|
* Notes :
|
|
*
|
|
*/
|
|
|
|
|
|
/*:::::::::::::::::::::::::::::::::::::::::::: Thread information structure */
|
|
|
|
typedef struct {
|
|
|
|
HANDLE Handle; /* Threads object handle */
|
|
DWORD ID; /* Threads ID */
|
|
|
|
} THREAD_INFO;
|
|
|
|
/*::::::::::::::::::::::::::::::::::::::::::: Threads containment structure */
|
|
|
|
typedef struct {
|
|
|
|
THREAD_INFO Main; /* Main() thread */
|
|
THREAD_INFO HeartBeat; /* Heart beat thread */
|
|
THREAD_INFO EventMgr; /* Event manager thread */
|
|
THREAD_INFO HddnWnd; /* Hidden window thread */
|
|
THREAD_INFO Com1; /* Communication channel one */
|
|
THREAD_INFO Com2; /* Communication channel two */
|
|
THREAD_INFO Com3; /* Communication channel three */
|
|
THREAD_INFO Com4; /* Communication channel four */
|
|
|
|
} THREAD_DATA;
|
|
|
|
IMPORT THREAD_DATA ThreadInfo;
|