Comments (4)
@sy-records ok ok
from library.
@sy-records
wait方法中可以加上unset数组self::$cancel_list[$cid]
- 不知道后面会不会出现协程id相同的情况下,导致协程没有等待。
- 节省内存冗余空间
if (!isset(self::$cancel_list[$cid])) {
Coroutine::yield();
}else {
unset(self::$cancel_list[$cid]);
}
from library.
嗯,这里是有点问题。。我在等review,结果合并了😂
from library.
@sy-records
好的好的,哈哈
from library.
Related Issues (20)
- Question about Swoole in cPanel HOT 7
- TypeError: Swoole\Coroutine\Http\Client::setHeaders(): Argument #1 ($headers) must be of type array, null given
- PDOStatement::bindParam() expects parameter 1 to be string HOT 1
- CURLOPT_UNIX_SOCKET_PATH is not supported HOT 1
- Cannot execute queries while other unbuffered queries are active. HOT 2
- For Postgres PDO Connection Pool, the "charset" option gives error. HOT 2
- PDOException Original error code change HOT 4
- gitcode 或者gitee 也镜像一份呗,解决查看github例子 间歇性打不开 HOT 1
- PHP 8.2: 动态属性被弃用 HOT 2
- set_charset() should be called after confirming there aren't any connection errors
- Roadmap: Swoole Library 5.2 HOT 1
- FastCGI Proxy Error HOT 2
- Question: Pretty permalinks example? HOT 15
- mysql set_opt should be called before connecting
- help ~~ HOT 1
- Feature request: Proroutines (?) HOT 1
- Swoole curl incorrect send cookie from COOKIEFILE/COOKIEJAR. HOT 2
- Where was the Amp driver moved to? HOT 5
- Allowed memory size exhausted Curl CURLOPT_FILE 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 library.