ThreadWrapper.fetchResult

void * fetchResult(bool mayLock, uint expId)

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].

Parameters

mayLockTRUE if this funct must lock the caller untill a result is available
expIdID of the job for which a result is expected

Returns

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

Throws

[ThreadWrapperException]