picotm
0.4.0
|
#include <socket.h>
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] |
Represents a socket's open file description.
enum picotm_libc_cc_mode socket::cc_mode |
Concurrency-control mode for the socket.
struct ofdid socket::id |
The socket's unique id.
pthread_rwlock_t socket::lock |
Internal lock.
struct picotm_shared_ref16 socket::ref |
The reference counter.
struct picotm_rwlock socket::rwlock[NUMBER_OF_SOCKET_FIELDS] |
Reader/writer state locks.