structure.h

来自「RTSP PROXY Server and client」· C头文件 代码 · 共 23 行

H
23
字号
#ifndef _KRTSPROXYD_STRUCTURE_H_#define _KRTSPROXYD_STRUCTURE_H_#include <linux/time.h>#include <linux/wait.h>/*struct krtsproxyd_threadinfo represents the 2 queues that 1 thread has to deal with.It is padded to occupy 1 (Intel) cache-line, to avoid "cacheline-pingpong".32bytes is a cache-line's size*/struct krtsproxyd_threadinfo{       struct rtsp_session *RtspSessionQueue; 	struct shok *gShokQueue;		char  dummy[32-(((sizeof(void *))) << 1) ];  /* Padding for cache-lines */};#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?