Robust Distributed System Nucleus (rDSN)  ver 1.0.0
Classes | Macros
Exec-model

Overview

Classes

class  dsn::task_code
 
class  dsn::threadpool_code
 

Macros

#define DEFINE_NAMED_TASK_CODE(x, name, pri, pool)   __selectany const ::dsn::task_code x(#name, TASK_TYPE_COMPUTE, pri, pool);
 
#define DEFINE_NAMED_TASK_CODE_AIO(x, name, pri, pool)   __selectany const ::dsn::task_code x(#name, TASK_TYPE_AIO, pri, pool);
 
#define DEFINE_NAMED_TASK_CODE_RPC(x, name, pri, pool)
 
#define DEFINE_TASK_CODE(x, pri, pool)   DEFINE_NAMED_TASK_CODE(x, x, pri, pool)
 
#define DEFINE_TASK_CODE_AIO(x, pri, pool)   DEFINE_NAMED_TASK_CODE_AIO(x, x, pri, pool)
 
#define DEFINE_TASK_CODE_RPC(x, pri, pool)   DEFINE_NAMED_TASK_CODE_RPC(x, x, pri, pool)
 
#define DEFINE_THREAD_POOL_CODE(x)   __selectany const ::dsn::threadpool_code x(#x);
 

Macro Definition Documentation

#define DEFINE_NAMED_TASK_CODE_RPC (   x,
  name,
  pri,
  pool 
)
Value:
__selectany const ::dsn::task_code x(#name, TASK_TYPE_RPC_REQUEST, pri, pool); \
__selectany const ::dsn::task_code x##_ACK(#name"_ACK", TASK_TYPE_RPC_RESPONSE, pri, pool);
task handling rpc response or timeout
Definition: api_task.h:53
task handling rpc request
Definition: api_task.h:52