socket_client_globals Struct Reference
[generic]

Socket client library global data. More...


Data Fields

fibril_rwlock_t lock
 Safety lock.
sockets_t * sockets
 Active sockets.
int tcp_phone
 TCP module phone.
int udp_phone
 UDP module phone.


Detailed Description

Socket client library global data.

Definition at line 147 of file socket_client.c.


Field Documentation

fibril_rwlock_t lock

Safety lock.

Write lock is used only for adding or removing sockets. When locked for writing, no other socket locks need to be locked. When locked for reading, any other socket locks may be locked. No socket lock may be locked if this lock is unlocked.

Definition at line 166 of file socket_client.c.


The documentation for this struct was generated from the following file:
Generated on Thu Jun 2 07:46:00 2011 for HelenOS/USB by  doxygen 1.4.7