Skip to content

Commit

Permalink
document new classes/constant added in Swoole 6.0.0-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
deminy committed Nov 28, 2024
1 parent 568b2f6 commit ff7f1a7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/Constant.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ class Constant

public const OPTION_AIO_MAX_IDLE_TIME = 'aio_max_idle_time';

/**
* @since 6.0.0-beta
*/
public const OPTION_IOURING_ENTRIES = 'iouring_entries';

/**
Expand Down
3 changes: 3 additions & 0 deletions src/core/Thread/Pool.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
use PhpParser\ParserFactory;
use Swoole\Thread;

/**
* @since 6.0.0-beta
*/
class Pool
{
private array $threads = [];
Expand Down
3 changes: 3 additions & 0 deletions src/core/Thread/Runnable.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

namespace Swoole\Thread;

/**
* @since 6.0.0-beta
*/
abstract class Runnable
{
protected Atomic $running;
Expand Down

0 comments on commit ff7f1a7

Please sign in to comment.