skynet
xinyYoung
这个作者很懒,什么都没留下…
展开
-
skynet 源码解析 message queue
#ifndef SKYNET_MESSAGE_QUEUE_H#define SKYNET_MESSAGE_QUEUE_H#include <stdlib.h>#include <stdint.h>struct skynet_message { uint32_t source; //消息源的句柄 int session; // void * dat...原创 2018-09-18 16:24:41 · 458 阅读 · 0 评论 -
skynet源码解析 skynet_module
#ifndef SKYNET_MODULE_H#define SKYNET_MODULE_Hstruct skynet_context;typedef void * (*skynet_dl_create)(void);typedef int (*skynet_dl_init)(void * inst, struct skynet_context *, const char * par...原创 2018-09-18 16:27:35 · 523 阅读 · 0 评论