Motr  M0
ma Struct Reference
Collaboration diagram for ma:
Collaboration graph

Data Fields

struct m0_net_transfer_mct_ma
 
struct m0_thread t_poller
 
int t_epollfd
 
bool t_shutdown
 
struct m0_tl t_deathrow
 
struct m0_tl t_done
 

Detailed Description

A network transfer machine

Definition at line 772 of file sock.c.

Field Documentation

◆ t_deathrow

struct m0_tl t_deathrow

List of finalised sock structures.

Definition at line 798 of file sock.c.

◆ t_done

struct m0_tl t_done

List of completed buffers.

Definition at line 800 of file sock.c.

◆ t_epollfd

int t_epollfd

epoll(2) instance file descriptor.

Definition at line 795 of file sock.c.

◆ t_ma

struct m0_net_transfer_mc* t_ma

Generic transfer machine with buffer queues, etc.

Definition at line 774 of file sock.c.

◆ t_poller

struct m0_thread t_poller

Poller thread.

All asynchronous activity happens in this thread:

- notifications about incoming connections;

- notifications about possibility of non-blocking socket io;

- buffer completion events (ma_buf_done());

- buffer timeouts (ma_buf_timeout());

- freeing socket structures (ma_prune());

Poller can easily be adapter to be a "chore" in a locality.

Definition at line 793 of file sock.c.

◆ t_shutdown

bool t_shutdown

Definition at line 796 of file sock.c.


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