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 grapheme 函数 function to extract a sequence of default grapheme clusters from a text buffer which must be encoded in utf 8php mysqlnd ms 函数 returns an array which describes the last used connectionphp sqlite 函数 execute a query that does not prefetch and buffer all dataphp mongodb driver cursorid create a new cursorid not used php mongodb driver server create a new server not used php 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 mmap map a file into memory and return the stream resource which can be used by php stream operations.php swoole process high precision timer which triggers signal with fixed interval.php swoole process get the stats of the message queue used as the communication method between processes.
关注编程学问公众号