摘要: /* * CMutex.h * Process level lock */#ifndef UTIL_MUTEX_H#define UTIL_MUTEX_H#include "../common/Common.h"class CMutex{public: /** * Check if mutex exists */ static int Exists( const char * pszName, bool * bExist, int proj_id = -1/* Linux only */ );public: ... 阅读全文
posted @ 2012-12-06 15:18 Kingdom_0 阅读(859) 评论(0) 推荐(0) 编辑
摘要: #ifndef OPP_LOGING_H#define OPP_LOGING_H#define LOG_ERR(fmt,...)\ Logger::instance()->Log(Logger::Error, fmt, __VA_ARGS__);#define LOG_WARN(fmt, ...)\ Logger::instance()->Log(Logger::Warn, fmt, __VA_ARGS__);#define LOG_INFO(fmt, ...)\ Logger::instance()->Log(Logger::Info, fmt, __VA_ARGS__.. 阅读全文
posted @ 2012-12-06 15:13 Kingdom_0 阅读(517) 评论(0) 推荐(0) 编辑