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 php 选项/信息 函数 reclaims memory used by the zend engine memory managerphp mcve 函数 returns array of strings which represents the keys that can be used for response parameters on this transactionphp swoole 函数 select the file descriptions which are ready to read/write or error in the eventloopphp solrquery returns the treshold frequency at which words will be ignored which do not occur in at least this many docsphp 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 try to acquire the lock. it will block if the lock is not available.php swoole lock try to lock a read write lock for reading and return straight away even the lock is not available.php swoole lock try to acquire the lock and return straight away even 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 create the swoole memory table.
关注编程学问公众号