Swoole\Buffer::recycle

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Buffer::recycleRelease the memory to OS which is not used by the memory buffer.

说明

public Swoole\Buffer::recycle ( void ) : void

参数

此函数没有参数。

相关文章
php swoole the swoole buffer classphp mcve 函数 returns array of strings which represents the keys that can be used for response parameters on this transactionphp mysqlnd ms 函数 returns an array which describes the last used connectionphp sqlite 函数 execute a query that does not prefetch and buffer all dataphp soapserver sets the object which will be used to handle soap requestsphp swoole buffer append the string or binary data at the end of the memory buffer and return the new size of memory allocated.php swoole buffer reset the memory buffer.php swoole buffer fixed size memory blocks allocation.php swoole buffer destruct the swoole memory buffer.php swoole buffer expand the size of memory buffer.php swoole buffer read data from the memory buffer based on offset and length.php swoole buffer release the memory to os which is not used by the memory buffer.php swoole buffer read data from the memory buffer based on offset and length. or remove data from the memory buffer.php swoole buffer get the string value of the memory buffer.php swoole buffer write data to the memory buffer. the memory allocated for the buffer will not be changed.php swoole lock construct a memory lock.php swoole lock destory a swoole memory lock.php swoole lock try to acquire the lock. it will block if the lock is not available.php swoole mmap map a file into memory and return the stream resource which can be used by php stream operations.php swoole table construct a swoole memory table with fixed size.
关注编程学问公众号