SDC C-Project CF Review 프로그램
LYW
2021-07-27 281a73558e8d437fc778b390281560fa2e7a0e5e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once
 
class AFX_EXT_CLASS CSThreadControl
{
public:
    CSThreadControl(int nThreadCount=1);
    virtual ~CSThreadControl(void);
 
    int    GetThreadCount() const;
 
private:
    void CreateThread(int nThreadCount=1);
    void CloseThread();
 
protected:
    int                        m_nThreadCount;
    int                        m_nRollback;
    PTP_POOL                m_pPool;
    TP_CALLBACK_ENVIRON        m_CallBackEnviron;
    PTP_CLEANUP_GROUP        m_pCleanupGroup;
};