#include "NyLPC_cHttpd_protected.h"\r
#include "NyLPC_cHttpdConnection.h"\r
#include "NyLPC_cHttpdConnection_protected.h"\r
+#include "NyLPC_cHttpdThread_protected.h"\r
\r
#define LIMIT_OF_PERSISTENT_CONNECTION (NyLPC_cNet_NUMBER_OF_THREAD-1)\r
\r
#define DEFINE_NyLPC_TcHttpd_t\r
#endif\r
\r
-/** Httpdセッションスレッドのスタックサイズ*/\r
-#define NyLPC_TcHttpdThread_SIZE_OF_THREAD_STACK 1024\r
\r
typedef struct NyLPC_TcHttpdThread NyLPC_TcHttpdThread_t;\r
/**\r
* Author: nyatla\r
*/\r
\r
-#ifndef NYLPC_TCHTTPDTHREAD_H_\r
-#define NYLPC_TCHTTPDTHREAD_H_\r
+#ifndef NYLPC_TCHTTPDTHREAD_PROTECTED_H_\r
+#define NYLPC_TCHTTPDTHREAD_PROTECTED_H_\r
#include "NyLPC_stdlib.h"\r
#include "../NyLPC_cNetConfig.h"\r
#include "NyLPC_cHttpdConnection.h"\r
#endif\r
\r
/** Httpdセッションスレッドのスタックサイズ*/\r
-#define NyLPC_TcHttpdThread_SIZE_OF_THREAD_STACK 1024\r
+#define NyLPC_TcHttpdThread_SIZE_OF_THREAD_STACK 2048\r
\r
-typedef struct NyLPC_TcHttpdThread NyLPC_TcHttpdThread_t;\r
-/**\r
- * このクラスは、httpdのワーカースレッドです。1セッションを担当します。\r
- */\r
-struct NyLPC_TcHttpdThread\r
-{\r
- NyLPC_TcThread_t _super;\r
- /** 関数アドレスを格納したポインタ*/\r
- NyLPC_TcHttpdConnection_t _connection;\r
-};\r
\r
\r
-void NyLPC_cHttpdThread_initialize(NyLPC_TcHttpdThread_t* i_inst,NyLPC_TcHttpd_t* i_parent,NyLPC_TInt32 i_prio);\r
-void NyLPC_cHttpdThread_finalize(NyLPC_TcHttpdThread_t* i_inst);\r
-NyLPC_TBool NyLPC_cHttpdThread_start(NyLPC_TcHttpdThread_t* i_inst,NyLPC_TcTcpListener_t* i_listener);\r
\r
#ifdef __cplusplus\r
}\r