会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lianhuaren
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
39
40
41
42
43
44
45
46
47
···
50
下一页
2016年12月16日
第3月第16天 fd_set 32 ACE_TP_Reactor
摘要: 1. http://www.cnblogs.com/scope-beyound/p/3628217.html 2. 其中 TP 即 Thread-Pool 的缩写。与 ACE_WFMO_Reactor 的完全多线程并行处理不同,TP_Reactor 仅实现了部分的并行,这是由于 select 系统调
阅读全文
posted @ 2016-12-16 17:25 lianhuaren
阅读(201)
评论(0)
推荐(0)
2016年12月15日
第3月第15天 afconvert lame
摘要: 1. //CAF 转换成MP3 (可以) afconvert -f mp4f -d aac -b 128000 /Users/amarishuyi/Desktop/sound1.caf/Users/amarishuyi/Desktop/sound1.mp3 http://www.togaware.c
阅读全文
posted @ 2016-12-15 16:27 lianhuaren
阅读(160)
评论(0)
推荐(0)
2016年12月14日
第3月第14天 生产者-消费者
摘要: 1. 之前公司有个项目,有一个线程接收 tcp连接然后把socket放入队列,10个线程处理socket的数据,但10个线程还是处理不过来,客户端连上又关闭了,服务端处理完数据通过socket发送时,发现socket已经关闭了。 对于生产者-消费者问题,一定要设定缓冲区大小,当缓存区满的时候,生产者
阅读全文
posted @ 2016-12-14 08:54 lianhuaren
阅读(124)
评论(0)
推荐(0)
2016年12月13日
第3月第13天 cpp模版 Iterator模式 proactor
摘要: 1.模版除了传参,还可以自动创建。而传指针只是传参而已。 2.Iterator模式 实现 ACE_Timer_Hash_T, ACE_Timer_Heap_T , ACE_Timer_List_T, ACE_Timer_Wheel_T http://blog.csdn.net/u010700335/
阅读全文
posted @ 2016-12-13 11:24 lianhuaren
阅读(144)
评论(0)
推荐(0)
2016年12月11日
第3月第11天 vs2005调试 ace编译
摘要: 1.vs2005调试 http://blog.csdn.net/u010797208/article/details/40452797 2.macbook ace编译 http://www.jianshu.com/p/adc5938905f0 小坑: 源代码clockid_t重命名 GNUmakef
阅读全文
posted @ 2016-12-11 23:37 lianhuaren
阅读(309)
评论(0)
推荐(0)
2016年12月9日
第3月第9天 循环引用 block
摘要: 一.一个对象没有被引用,那么在函数块完成时就会被dealloc,这种情况因为对象销毁了,block块也永远不会执行。 二. NSOperationQueue引用 1.NSOperationQueue可以addOperation,这样operation对象就会被引用了,并在operation完成时op
阅读全文
posted @ 2016-12-09 11:51 lianhuaren
阅读(157)
评论(0)
推荐(0)
2016年12月8日
第3月第8天 RefCounted PlistBuddy
摘要: 1.RefCounted引用计数 http://www.cnblogs.com/dsky/archive/2012/09/06/2673170.html 2.PlistBuddy http://www.cnblogs.com/brycezhang/p/4097487.html http://www.
阅读全文
posted @ 2016-12-08 14:48 lianhuaren
阅读(93)
评论(0)
推荐(0)
2016年12月2日
第3月第2天 find symbolicatecrash 生产者-消费者 ice 引用计数
摘要: 1.linux find export find /Applications/Xcode.app/ -name symbolicatecrash -type f export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer" 2.s
阅读全文
posted @ 2016-12-02 10:13 lianhuaren
阅读(211)
评论(0)
推荐(0)
2016年12月1日
第3月第1天 GCDAsyncSocket dispatch_source_set_event_handler runloop
摘要: 一、GCDAsyncSocket的核心就是dispatch_source_set_event_handler 1.accpet回调 2.read,write回调 二,缓存区 1.创建 GCDAsyncReadPacket没有传入buffer,则readpacket没有缓冲区,socket可读时会放入
阅读全文
posted @ 2016-12-01 21:47 lianhuaren
阅读(1285)
评论(0)
推荐(0)
2016年11月25日
第2月第25天 BlocksKit
摘要: 1.blockskit https://github.com/zwaldowski/BlocksKit bk_showAlertViewWithTitle 2.toast 3.dispatch_group_create
阅读全文
posted @ 2016-11-25 16:35 lianhuaren
阅读(129)
评论(0)
推荐(0)
上一页
1
···
39
40
41
42
43
44
45
46
47
···
50
下一页
公告