#include <RMCast_Copy_On_Write.h>
Inheritance diagram for ACE_RMCast_Copy_On_Write_Container


Public Types | |
| typedef ACE_RMCast_Copy_On_Write_Collection< COLLECTION,ITERATOR> | Collection |
| A shorter name for the actual collection type. | |
Public Methods | |
| ACE_RMCast_Copy_On_Write_Container (void) | |
| Constructor. | |
Protected Attributes | |
| int | pending_writes_ |
| Number of pending writes. | |
| int | writing_ |
| If non-zero then a thread is changing the collection. More... | |
| ACE_SYNCH_MUTEX | mutex_ |
| A mutex to serialize access to the collection pointer. | |
| ACE_SYNCH_CONDITION | cond_ |
| A condition variable to wait to synchronize multiple writers. | |
| Collection* | collection_ |
| The collection, with reference counting added. | |
Friends | |
| class | ACE_RMCast_Copy_On_Write_Write_Guard< COLLECTION,ITERATOR > |
| class | ACE_RMCast_Copy_On_Write_Read_Guard< COLLECTION,ITERATOR > |
|
|||
|
A shorter name for the actual collection type.
Reimplemented in ACE_RMCast_Copy_On_Write. |
|
||||
|
Constructor.
|
|
|||
|
Let the Read_Guard access the internal fields.
|
|
|||
|
Let the Write_Guard access the internal fields.
|
|
|||
|
The collection, with reference counting added.
|
|
|||
|
A condition variable to wait to synchronize multiple writers.
|
|
|||
|
A mutex to serialize access to the collection pointer.
|
|
|||
|
Number of pending writes.
|
|
|||
|
If non-zero then a thread is changing the collection. Many threads can use the collection simulatenously, but only one change it. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000