?? async.h
字號:
/************************************************************
* *
* Copyright (c) 2001-2007 McObject LLC. All Right Reserved.*
* *
************************************************************/
/*
* Application's specific header file
*
*/
#ifndef ASYNC_H__
#define ASYNC_H__
#include "mco.h"
#include "platform.h"
//#include <stdio.h>
//#include <stdlib.h>
//#include <string.h>
#include "evdb.h"
/* Common defines */
#define DBSIZE (1024*4000)
#ifndef MCO_PLATFORM_X64
#define PAGESIZE 100
#else
#define PAGESIZE 200
#endif
#define NOBJECTS 5
#define NTHREADS 5
typedef struct ThrParam_
{
mco_db_h db;
int finished;
} ThrParam;
extern const char dbName[];
;
/* counters */
extern long ev_new_count;
extern long ev_update_count;
extern long ev_del_count;
/* Functions */
void threads(ThrParam* thread_params);
#endif /* ASYNC_H__ */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -