聊聊IO多路复用之select、poll、epoll详解
摘要:本文转载自: http://mp.weixin.qq.com/s?__biz=MzAxODI5ODMwOA==&mid=2666538922&idx=1&sn=e6b436efd6a4f53dcbf20f4ce11a986a&scene=23&srcid=0425xFfzV9LmmVrdeEQ4He
阅读全文
posted @
2016-04-25 21:01
mingaixin
阅读(5395)
推荐(2) 编辑
聊聊 Linux 中的五种 IO 模型
摘要:本文转载自: http://mp.weixin.qq.com/s?__biz=MzAxODI5ODMwOA==&mid=2666538919&idx=1&sn=6013c451b5f14bf809aec77dd5df6cff&scene=21#wechat_redirect 上一篇《聊聊同步、异步、
阅读全文
posted @
2016-04-25 21:00
mingaixin
阅读(431)
推荐(0) 编辑
聊聊同步、异步、阻塞与非阻塞
摘要:本文转载自: http://mp.weixin.qq.com/s?__biz=MzAxODI5ODMwOA==&mid=2666538901&idx=1&sn=d1f7d5461491a9c240f16da6b7c0ced9&scene=21#wechat_redirect 近来遇到了一些常见的概念
阅读全文
posted @
2016-04-25 20:56
mingaixin
阅读(399)
推荐(0) 编辑
php 验证所传参数为必填的时候的验证逻辑
摘要:此段代码摘自lumen框架: xx/vendor/illuminate/validation/Validator.php /** * Validate that a required attribute exists. * * @param string $attribute * @param mixed $value * @retur...
阅读全文
posted @
2016-04-05 14:08
mingaixin
阅读(913)
推荐(0) 编辑