Skip to content

swoole 6 - when do you guys plan on releasing it? #5613

Answered by NathanFreeman
linuxd3v asked this question in Q&A
Discussion options

You must be logged in to vote

Swoole 6 will be released soon.

Here are some new features.

  • Added multi-threading support, require the ZTS version of PHP. Add --enable-swoole-thread option to the configure command to activate it.
  • Added a new thread class Swoole\Thread.
  • Introduced thread lock Swoole\Thread\Lock.
  • Added thread atomic counter Swoole\Thread\Atomic, Swoole\Thread\Atomic\Long.
  • Added safe concurrent containers Swoole\Thread\Map, Swoole\Thread\ArrayList, Swoole\Thread\Queue.
  • File asynchronous operations support iouring as the underlying engine. Installing liburing and compiling Swoole with --enable-iouring enables asynchronous operations for functions like file_get_contents, file_put_contents, fopen, fclose, fread

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by linuxd3v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants