|
|
1.1 root 1:
2: //---------------------------------------------------------------------------
3:
4: #ifndef ThreadUnitH
5: #define ThreadUnitH
6: //---------------------------------------------------------------------------
7: #include <Classes.hpp>
8: #include <SyncObjs.hpp>
9: //---------------------------------------------------------------------------
10: class TMyThread : public TThread
11: {
12: private:
13: protected:
14: void __fastcall Execute();
15: public:
16: TMemo* Log;
17: TList* List;
18: TCriticalSection* CriticalSection;
19: __fastcall TMyThread(bool CreateSuspended);
20: void __fastcall AddToLog(void);
21: };
22: //---------------------------------------------------------------------------
23: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.