K2hash::transaction K2hash Class

K2hash::unsetTransactionThreadPool

Stops transaction workers

Description

 public static bool K2hash::unsetTransactionThreadPool ( void )

Stops transaction workers.

Parameters

This function has no parameters.

Return Values

Returns true on success or false on failure.

Examples

<?php
var_dump(K2hash::settransactionThreadPool(1));
var_dump(K2hash::gettransactionThreadPool());
var_dump(K2hash::unsettransactionThreadPool());
?>

The above example will output:

bool(true)
int(1)
bool(true)

See Also

K2hash::transaction K2hash Class