fetch_result


Description:

[ Version ( since = "4.2" ) ]
public void* fetch_result (bool may_lock, uint exp_id) throws Error

Use this method to check if the execution of a function is finished.

The function's execution must have been requested using execute.

Parameters:

this

a ThreadWrapper object

may_lock

TRUE if this funct must lock the caller untill a result is available

exp_id

ID of the job for which a result is expected

Returns:

the pointer returned by the execution, or null if no result is available