Motr
M0
|
#include <isc.h>
Data Fields | |
struct m0_fom * | icp_fom |
void * | icp_data |
Holds the information private to a computation. This data is useful when a halted computation is resumed.
void* icp_data |
struct m0_fom* icp_fom |
The fom associated with the instance of a computation. A computation can register a fom callback on some channel, when it's going to return M0_FSO_WAIT. A typical use-case can be of a computation returning M0_FSO_WAIT to a calling fom, while waiting for disk or network i/o. In this case the associated fom is made to wait on a channel, internal to a computation, and it re-launches the computation when i/o completion is signalled.