Motr  M0
m0_isc_comp_private Struct Reference

#include <isc.h>

Collaboration diagram for m0_isc_comp_private:
Collaboration graph

Data Fields

struct m0_fomicp_fom
 
void * icp_data
 

Detailed Description

Holds the information private to a computation. This data is useful when a halted computation is resumed.

Definition at line 123 of file isc.h.

Field Documentation

◆ icp_data

void* icp_data

The private data for a computation. A computation can save its current state before passing control to calling fom. It's a responsibility of the computation to manage the memory associated with icp_data.

Definition at line 142 of file isc.h.

◆ icp_fom

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.

Definition at line 134 of file isc.h.


The documentation for this struct was generated from the following file: