|
|
1.1 ! root 1: //--------------------------------------------------------------------------- ! 2: ! 3: #ifndef TestThreadUnitH ! 4: #define TestThreadUnitH ! 5: //--------------------------------------------------------------------------- ! 6: #include <Classes.hpp> ! 7: #include <SyncObjs.hpp> /* TEvent/TSimpleEvent */ ! 8: ! 9: #if !defined(INFINITE) /* Missing in Kylix FT1 */ ! 10: #define INFINITE -1 ! 11: #endif ! 12: ! 13: //--------------------------------------------------------------------------- ! 14: class TTestThread : public TThread ! 15: { ! 16: private: ! 17: protected: ! 18: void __fastcall Execute(); ! 19: public: ! 20: TSimpleEvent* ChildEvent; ! 21: TSimpleEvent* ParentEvent; ! 22: __fastcall TTestThread(bool CreateSuspended); ! 23: }; ! 24: //--------------------------------------------------------------------------- ! 25: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.