51 lines
1.1 KiB
C++
51 lines
1.1 KiB
C++
/***************************************************************************
|
|
Worker (cc_tsd)
|
|
-----------------------------------------
|
|
|
|
begin : 2013/09/16
|
|
copyright : (C) 2005 Solbox Inc.
|
|
author : Development 1 Team
|
|
- 2013/09/16
|
|
email : dev1@solbox.com
|
|
version : 3.2.0
|
|
|
|
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 __WORKER_PROCESS_H__
|
|
#define __WORKER_PROCESS_H__
|
|
|
|
#include <stdlib.h>
|
|
#include <unistd.h>
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/// @brief Worker Process 의 main 함수
|
|
/// @return
|
|
int WorkerMain( void );
|
|
|
|
/// @brief Worker 프로세스 signal 처리 설정을 위한 함수
|
|
/// @return void
|
|
void SetSignalWorker( void );
|
|
|
|
/* Signal 처리를 위한 각 Signal Handler 함수는
|
|
* 다른 Code 에서 Include 처리시 Static 관련 문제로 인해
|
|
* 본 Header 에서 선언처리 하지 않음. cpp 에만 존재
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* __WORKER_PROCESS_H__ */
|
|
|
|
|