浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 215 216 217 218 219 220 221 222 223 ··· 630 下一页

2013年1月22日

摘要: unix 网络编程总结 - 邓维 - 博客园unix 网络编程总结from:http://middleware123.com/tuxedo/intro/303.html1.处理SIGCHLD信号当编写fork子进程处理连接的服务器程序时,子进程退出会给父进程产生SIGCHLD信号,父进程若不处理该信号会导致僵尸进程。处理SIGCHLD信号,使用waitpid调用,不能使用wait简单处理。一般的处... 阅读全文
posted @ 2013-01-22 05:46 lexus 阅读(442) 评论(0) 推荐(0)

摘要: linux C 学习笔记(非常初级 ) - 邓维 - 博客园linux C 学习笔记(非常初级 )从以前的笔记中找到的,simple but useful=============================调试:gdb list //list code run kill //end debug n=next quit //terminate gdb break lineofcode dele... 阅读全文
posted @ 2013-01-22 05:45 lexus 阅读(257) 评论(0) 推荐(0)

摘要: 心跳处理 - 邓维 - 博客园心跳处理 阅读全文
posted @ 2013-01-22 05:43 lexus 阅读(206) 评论(0) 推荐(0)

摘要: c++ 调用 python - 邓维 - 博客园c++ 调用 pythonMakefile first: g++ t2.cpp -o t2 -I/usr/include/python2.7 -lpython2.7 t2.cpp code #include<python2.7/Python.h> #include<iostream> #include<string> voidprintDict(... 阅读全文
posted @ 2013-01-22 05:41 lexus 阅读(387) 评论(0) 推荐(0)

摘要: 【并发服务器系列】3 epoll模型 - 邓维 - 博客园【并发服务器系列】3 epoll模型 - 邓维 - 博客园 Performance:Testing Machine: Local test ,OS: Fedora 14(Linux 2.6.35) 2 Cores:E3200@2.4GHz, Memory: 2GiB Result: Handles about 300~400 clients... 阅读全文
posted @ 2013-01-22 05:40 lexus 阅读(214) 评论(0) 推荐(0)

摘要: 【并发服务器系列】2 select模型 - 邓维 - 博客园【并发服务器系列】2 select模型some of the codes are the same with previous article. I just list the different code here .chat_server.cppView Code#include"chat.h" externintsock_serv... 阅读全文
posted @ 2013-01-22 05:39 lexus 阅读(309) 评论(0) 推荐(0)

摘要: Linux下程序的Profile工具 - 邓维 - 博客园Linux下程序的Profile工具我们在写程序,特别是嵌入式程序的时候,通常需要对程序的性能进行分析,以便程序能够更快更好地运行,达到实时(real-time)的目的。如果程序很大,分析起来就很困难。如果有个工具能够自动进行程序的性能分析,那就最好了。这里介绍一种Linux下程序的Profiling工具----GNU profiler。g... 阅读全文
posted @ 2013-01-22 05:38 lexus 阅读(597) 评论(0) 推荐(0)

摘要: 从某图片论坛中自动下载每页的每个子post的图片 - 邓维 - 博客园从某图片论坛中自动下载每页的每个子post的图片 阅读全文
posted @ 2013-01-22 05:36 lexus 阅读(145) 评论(0) 推荐(0)

摘要: 用tcpdump 分析如何建立与关闭tcp连接 - 邓维 - 博客园用tcpdump 分析如何建立与关闭tcp连接 阅读全文
posted @ 2013-01-22 05:35 lexus 阅读(174) 评论(0) 推荐(0)

摘要: c++中指针,指针的引用,指针的指针的区别 - C++ Programmer's Cookbook - C++博客c++中指针,指针的引用,指针的指针的区别看例子和结果:#include"stdafx.h"#include<iostream>usingnamespacestd;voidFreePtr1(int*ptr1){deleteptr1;ptr1=NULL;}voidFreePtr2(int... 阅读全文
posted @ 2013-01-22 05:29 lexus 阅读(167) 评论(0) 推荐(0)

摘要: C++的引用和指针还有句柄的东西 - 牵着老婆满街逛 - C++博客C++的引用和指针还有句柄的东西 什么是引用?对象的别名(另一个名称)。 引用经常用于“按引用传递(pass-by-reference)”: void swap(int& i, int& j){ int tmp = i; i = j; j = tmp;}int main(){ int x, y; // ... swap(x,y)... 阅读全文
posted @ 2013-01-22 05:23 lexus 阅读(195) 评论(0) 推荐(0)

摘要: 指针和指针的引用 - 邓维 - 博客园指针和指针的引用本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/ztz0223/archive/2007/05/28/1628669.aspx另外 可 参考:c++中指针,指针的引用,指针的指针的区别------------------形参为指针和指针的引用之差别------------------c++指针与引用-------... 阅读全文
posted @ 2013-01-22 05:20 lexus 阅读(149) 评论(0) 推荐(0)

摘要: 【转载】Python中使用线程的技巧 http://my.oschina.net/u/617889/blog/103495 阅读全文
posted @ 2013-01-22 00:38 lexus 阅读(142) 评论(0) 推荐(0)

摘要: 程序员 2013 新年计划 http://www.oschina.net/news/36919/developer-resolutions-for-2013 阅读全文
posted @ 2013-01-22 00:33 lexus 阅读(234) 评论(0) 推荐(0)

摘要: Octopussy 1.0.7 发布,系统日志管理 http://www.oschina.net/news/36928/octopussy-1-0-7 阅读全文
posted @ 2013-01-22 00:31 lexus 阅读(250) 评论(0) 推荐(0)

摘要: TreeFrog 1.2 发布,基于 C++/QT 的 Web 框架 http://www.oschina.net/news/36933/treefrog-1-2 阅读全文
posted @ 2013-01-22 00:30 lexus 阅读(356) 评论(0) 推荐(0)

摘要: 使用thrift做c++,java和python的相互调用 - jinghong - ITeye技术网站使用thrift做c++,java和python的相互调用 博客分类:linuxlinuxthriftc++javapythonlinux上安装thrift见 http://jinghong.iteye.com/blog/1102535 thrift做为跨语言调用的方案有高效,支持语言较多,成... 阅读全文
posted @ 2013-01-22 00:06 lexus 阅读(371) 评论(0) 推荐(0)

2013年1月21日

摘要: 编译thrift和使用 - 翱翔云颠的博客 - 我的搜狐编译thrift和使用 收藏到手机 转发 评论 2011-08-03 17:34我使用的版本是thrift-0.6.1解压以后,先看readme,其中说编译环境参考http://wiki.apache.org/thrift/ThriftRequirements,打开看:Language requirementsC++ ... 阅读全文
posted @ 2013-01-21 23:34 lexus 阅读(530) 评论(0) 推荐(0)

摘要: thrift一个例子 - xiaoshe的专栏 - 博客频道 - CSDN.NETthrift一个例子 分类: thrift 2011-06-21 12:47 3000人阅读 评论(2) 收藏 举报我用的是c++,所以我举一个c++的例子,简单说一下thrift的使用入门。例子描述是这样的:我们将学生信息(学号,姓名,性别,年龄)由客户端发送到服务端。实现这个例子,我们... 阅读全文
posted @ 2013-01-21 22:50 lexus 阅读(408) 评论(0) 推荐(0)

摘要: Thrift CPP例子 - ggg Freak - 博客频道 - CSDN.NET Thrift CPP例子 分类: linux 2010-03-18 11:33 1152人阅读 评论(1) 收藏 举报tutorial 最简单例子1.安装成功后进入 tutorial 目录 运行 thrift -r --gen cpp tutorial.thrift 会在gen-cp... 阅读全文
posted @ 2013-01-21 22:04 lexus 阅读(363) 评论(0) 推荐(0)

上一页 1 ··· 215 216 217 218 219 220 221 222 223 ··· 630 下一页