ThreadWrapper.fetchResult

Use this method to check if the execution of a function is finished. The function's execution must have been requested using gda.thread_wrapper.ThreadWrapper.execute.

class ThreadWrapper
void*
fetchResult
(
bool mayLock
,
uint expId
)

Parameters

mayLock bool

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

expId uint

ID of the job for which a result is expected

Return Value

Type: void*

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

Throws