/**************************************************************************** Synchronization Class Header ----------------------------------------- begin : 2014/09/17 copyright : (C) 2005 Solbox Inc. author : Storage Dev Team email : storage.sd@solbox.com version : 3.4 CopyRight(C) 2005 Solbox Inc. All Rights reserved. Redistribution and use in source and binary forms, with or with out modification, are not permitted in outside of Solbox Inc. *****************************************************************************/ #ifndef __MASTERJOBTHREAD_H__ #define __MASTERJOBTHREAD_H__ #include "ModeMaster.h" #include "SyncList.h" class CMasterJobThread { public: CMasterJobThread(CSyncInfo info, CWorkResult* pResult); ~CMasterJobThread(); bool Start(); //Thread ½ÃÀÛ // È£ÃâÃø¿¡¼­ ThreadÀÇ Á¾·á ¿©ºÎµîÀ» ÆÇ´ÜÇϱâ À§ÇÔ inline pthread_t GetThreadHandle() { return m_threadHandle; } private: // ½º·¹µå ÇÔ¼ö static void* threadFunc( void* arg ); // ¾²·¹µå ½ÇÇà ÇÔ¼ö void Execute(); private: CSyncInfo m_info; CWorkResult* m_pResult; // ¾²·¹µå ÇÚµé pthread_t m_threadHandle; // client ¿Í Åë½Å °ü·Ã 󸮸¦ ¼öÇàÇϱâ À§ÇÑ control °´Ã¼ CProcessSocketControl m_client; }; #endif /* __MASTERJOBTHREAD_H__ */