Comments (1)
不会形成内存泄露,因为 acl_fiber_create_timer() 返回的 C 协程对象是在协程库里自动管理的,而且该对象所占空间可能还会被反复使用(内部有缓存协程对象的机制,以减少内存频繁分配释放次数)。
from libfiber.
Related Issues (9)
- What's the difference between brpc Bthread HOT 1
- 这个库与 https://github.com/acl-dev/acl/tree/master/lib_fiber 是什么关系 HOT 1
- if (sa->sa_family == AF_INET && sa->sa_family == AF_INET6) HOT 1
- samples/c/server/main.c - 服务端如何实现定时(如:1分钟1次)向客户端发送数据? HOT 2
- [Windows]关于var_maxfd限制 HOT 1
- 能不能改成utf-8编码
- Consider fcontext_t for context switch instead of ucontext_t HOT 10
- 有没有QQ群可以讨论的 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libfiber.