picotm  0.4.0
Data Fields
socket Struct Reference

#include <socket.h>

Collaboration diagram for socket:
Collaboration graph
[legend]

Data Fields

pthread_rwlock_t lock
 
struct picotm_shared_ref16 ref
 
struct ofdid id
 
enum picotm_libc_cc_mode cc_mode
 
struct picotm_rwlock rwlock [NUMBER_OF_SOCKET_FIELDS]
 

Detailed Description

Represents a socket's open file description.

Field Documentation

◆ cc_mode

enum picotm_libc_cc_mode socket::cc_mode

Concurrency-control mode for the socket.

◆ id

struct ofdid socket::id

The socket's unique id.

◆ lock

pthread_rwlock_t socket::lock

Internal lock.

◆ ref

struct picotm_shared_ref16 socket::ref

The reference counter.

◆ rwlock

struct picotm_rwlock socket::rwlock[NUMBER_OF_SOCKET_FIELDS]

Reader/writer state locks.


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