DragonNest/Server/DNLogServer/DNThreadManager.h
2024-12-20 16:56:44 +08:00

19 lines
884 B
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#pragma once
#include "ThreadManager.h"
class CDNThreadManager: public CThreadManager
{
protected:
#if defined(PRE_DEL_ONNULL)
void OnCalled(CSocketContext *pSocketContext, char *pBuffer, TThreadData* tThreadData);
#else
void OnCalled(CSocketContext *pSocketContext, char *pBuffer, int nThreadID);
#endif
public:
CDNThreadManager(void);
virtual ~CDNThreadManager(void);
};
extern CDNThreadManager g_ThreadManager;