摘要:
https://segmentfault.com/a/1190000003063859 Linux IO模式及 select、poll、epoll详解 https://segmentfault.com/a/1190000003063859 Linux IO模式及 select、poll、epoll详 阅读全文
摘要:
一、redis源码编译 redis可以直接在官网下载(本文使用版本 3.0.7):https://redis.io/download 安装: Run Redis with: You can interact with Redis using the built-in client: 主要调用src/ 阅读全文
摘要:
Part A: User Environments and Exception Handling As you can see in kern/env.c, the kernel maintains three main global variables pertaining to environm 阅读全文
摘要:
http://gcc.gnu.org/onlinedocs/gcc-4.4.5/gcc/Atomic-Builtins.html5.47 Built-in functions for atomic memory accessThe following builtins are intended to... 阅读全文
摘要:
State Thread 的官网地址:http://state-threads.sourceforge.netThe State Threads Library is a small application library which provides a foundation for writin... 阅读全文
摘要:
1、使用setjmp的man手册上可以看到使用方法:1 #include 2 3 int setjmp(jmp_buf env);setjmp() saves the stack context/environment in env forlater use by longjmp(3)RETURN ... 阅读全文
摘要:
一、zeromq简介zeromq的官方网站:http://zeromq.org/, 简介如下:ZeroMQ (also known as ØMQ, 0MQ, or zmq) looks like an embeddable networking library but acts like a con... 阅读全文
摘要:
System V 共享内存区例子:1、获取共享内存并写入数值1#include"network.h"23intmain(intargc,char*argv[])4{5intlen=BLOCK_SIZE;6intshmid=0;7int*addr=NULL;8structshmid_dsshmbuf;... 阅读全文