su_port_s Struct Reference

Collaboration diagram for su_port_s:

Collaboration graph
[legend]

Detailed Description

Port is a per-thread reactor.

Multiple root objects executed by single thread share a su_port_t object.


Data Fields

unsigned sup_multishot
 Multishot operation?
int sup_n_waits
 Counter incremented by su_port_register() or su_port_unregister() Active su_wait_t in su_waits.
int sup_size_waits
 Size of allocate su_waits.
int sup_pri_offset
 Offset to prioritized waits.
int * sup_indices
 Indices from index returned by su_root_register() to tables below.
su_wakeup_fsup_wait_cbs
 Reverse index.
int * sup_indices
 Indices from index returned by su_root_register() to tables below.
su_wakeup_fsup_wait_cbs
 Reverse index.


Field Documentation

int* sup_indices

Indices from index returned by su_root_register() to tables below.

Free elements are negative. Free elements form a list, value of free element is (0 - index of next free element).

First element sup_indices[0] points to first free element.

int* sup_indices

Indices from index returned by su_root_register() to tables below.

Free elements are negative. Free elements form a list, value of free element is (0 - index of next free element).

First element sup_indices[0] points to first free element.


Sofia-SIP 1.12.4 - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.