SDC C-Project CF Review 프로그램
LYW
2021-10-14 e8ba1e78e72f3f7ec2841f55fd90253b4dc414df
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;
};