按类别查询搜索结果
关于关键词 的检测结果,共 9877
huanxuesensan | 2016-12-24 13:18:04 | 阅读(1570) | 评论(0)
linux的文件管理主要就是fcntl这个函数。今天我们对这个函数做一些分析。主要讲解GETFD和GETFL的区别。 fcntl函数的说明:#include//这个头文件在/usr/include/bits/fcntl.h#include#includeint fcntl(int filedes,intcmd,...);上边一行等价于:...【阅读全文】
dongchangc | 2016-12-23 15:47:31 | 阅读(1340) | 评论(0)
1、解读了/root/031202/LINUX中的main.c文件:/* * main.c -- Main program for the GoAhead WebServer (LINUX version) * * Copyright (c) GoAhead Software Inc., 1995-2000. Al...【阅读全文】
wzzushx | 2016-12-21 18:24:39 | 阅读(590) | 评论(0)
主机内部通信,socket和pipe1、使用unix域socket,socket不可以向自己所绑定的地址发送数据,会有“资源不可用错误”。net socket好像是可以向自己绑定的地址发送数据。2、使用pipe,只能从pipe[1]写,pipe[0]读,是单向的【阅读全文】
郝姬友 | 2016-12-20 17:54:50 | 阅读(1730) | 评论(0)
令牌桶算法和漏桶算法简介【阅读全文】
stevewang1979 | 2016-12-19 11:16:51 | 阅读(0) | 评论(0)
原文地址:linux下内存的统计和内存泄露类问题的定位 作者:wushuan10141在产品的开发中,通过对当前系统消耗内存总量的统计,可以对产品所需内存总量进行精确的评估,从而选择合适的内存芯片与大小,降低产品的成本。在遇到内存泄露类问题时,经常会对此束手无策,本文通过对proc下进程相关的文件进行分析,精确...【阅读全文】
xuelei_51 | 2016-12-18 11:35:28 | 阅读(1420) | 评论(0)
经过common的学习之后,然后这个InternalThread类实际上就是boost库的thread的封装,然后对线程进行控制和使用。废话不多啰嗦看看头文件: class InternalThread {   public:    // 构造函数和析构函数  ...【阅读全文】
ruanxiaoke | 2016-12-15 16:04:10 | 阅读(340) | 评论(0)
areece | 2016-12-07 10:22:00 | 阅读(570) | 评论(0)
我是经常会忘记先加还是后加的,因为我比较笨么。今天早上看资料的时候,发现其实真的很简单,如果++, --放在操作数的前面,叫做pre-increment operator,从字面上解释就是先加操作符,当然是先加再返回值了。如果放在后面,叫做post-increment operator,也就是后加操作符,当然是先取值后加吗。我想这样,我就不会再忘...【阅读全文】
helpstudy | 2016-12-01 13:53:45 | 阅读(1620) | 评论(0)
chinaitboy | 2016-11-29 12:26:12 | 阅读(880) | 评论(0)
chinaitboy | 2016-11-29 12:24:40 | 阅读(890) | 评论(0)
chinaitboy | 2016-11-29 12:23:42 | 阅读(710) | 评论(0)
chinaitboy | 2016-11-29 12:23:37 | 阅读(690) | 评论(0)
chinaitboy | 2016-11-29 12:22:28 | 阅读(750) | 评论(0)
chinaitboy | 2016-11-29 11:34:47 | 阅读(2790) | 评论(0)
chinaitboy | 2016-11-29 11:32:35 | 阅读(690) | 评论(0)
chinaitboy | 2016-11-29 11:32:01 | 阅读(590) | 评论(0)
chinaitboy | 2016-11-29 11:31:51 | 阅读(570) | 评论(0)
wzzushx | 2016-11-25 16:17:21 | 阅读(800) | 评论(0)
grant_gcw | 2016-11-22 10:28:30 | 阅读(620) | 评论(0)
本文通过汇编代码说明了volatile的本质,并不提供原子性的保证【阅读全文】