Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

SocketConduit::VersionUseFreeList Class Reference

List of all members.

Protected Member Functions

override void closure ()

Static Private Member Functions

synchronized SocketConduit allocate (socket_t sock)
synchronized void deallocate (SocketConduit s)

Private Attributes

SocketConduit next
bool fromList

Static Private Attributes

SocketConduit freelist

Member Function Documentation

synchronized SocketConduit allocate socket_t  sock  )  [inline, static, private]
 

Allocate a SocketConduit from a list rather than creating a new one

Definition at line 81 of file SocketConduit.d.

References Socket::set(), and SocketConduit.

synchronized void deallocate SocketConduit  s  )  [inline, static, private]
 

Return this SocketConduit to the free-list

Definition at line 105 of file SocketConduit.d.

References Socket::reset().

override void closure  )  [inline, protected]
 

Override closure() to deallocate this SocketConduit when it has been closed. Note that one should *not* delete a SocketConduit when FreeList is enabled ...

Definition at line 121 of file SocketConduit.d.

References SocketConduit::fixup(), IConduitSink::unbind(), and IConduitSource::unbind().


Member Data Documentation

SocketConduit next [private]
 

Instance variables for free-list support

Definition at line 70 of file SocketConduit.d.

bool fromList [private]
 

Definition at line 71 of file SocketConduit.d.

SocketConduit freelist [static, private]
 

Definition at line 72 of file SocketConduit.d.


The documentation for this class was generated from the following file:
Generated on Sun Nov 7 19:07:11 2004 for Mango by doxygen 1.3.6