码迷,mamicode.com
首页 > 其他好文 > 详细

第29月第14天 evpp

时间:2019-02-14 11:55:13      阅读:135      评论:0      收藏:0      [点我收藏+]

标签:ptr   指针   share   article   event   nbsp   item   更改   需要   

1.evpp

 

https://github.com/Qihoo360/evpp/tree/master/examples/recipes/self_control_timer

https://blog.csdn.net/zieckey/article/details/70245013

 

 

2.enable_shared_from_this

 

shared_ptr接收裸指针,更改引用计数。

shared_ptr接收shared_ptr,更改引用计数。

在类的内部获取shared_ptr需要shared_from_this。

 

https://www.zhihu.com/question/30957800

 

https://baike.baidu.com/item/shared_ptr/2708164?fr=aladdin

https://blog.csdn.net/caoshangpa/article/details/79392878

 

3.libevent timer

 

time-test.c

https://blog.csdn.net/u010090316/article/details/70833334

 

第29月第14天 evpp

标签:ptr   指针   share   article   event   nbsp   item   更改   需要   

原文地址:https://www.cnblogs.com/javastart/p/10373613.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!