![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
小白
画喜
计算机小白,努力学习
展开
-
共享内存队列的实现
共享内存队列类:(结构体Header,结构体Record,结构体Attr) 共享内存队列 class ShmQueue {public: /** * 队列头 */ struct Header { volatile unsigned int head; volatile unsigned int tail;原创 2017-01-18 10:33:48 · 1685 阅读 · 0 评论 -
软连接建立出错 Operation not supported
建立软连接出现了以下错误:ln: creating symbolic link `/mnt/hgfs/wmj/src/src': Operation not supported原创 2017-02-17 09:18:15 · 7913 阅读 · 0 评论 -
Linux学习--gdb调试
http://www.cnblogs.com/hankers/archive/2012/12/07/2806836.html一.gdb常用命令:命令描述backtrace(或bt)查看各级函数调用及参数finish连续运行到当前函数返回为止,然后停下来等待命令frame(或f) 帧编转载 2017-01-17 17:18:28 · 250 阅读 · 0 评论 -
socketpair
socketpair:建立一对匿名的已经连接的套接字#include sys/types.h> #include sys/socket.h>int socketpair(int d, int type, int protocol, int sv[2]);1)UNIX域2)SOCK_STREAM SOCK_DGRAM3)对于socketpair函数,protocol参原创 2017-01-17 16:49:13 · 239 阅读 · 0 评论