class PReadWriteMutex: public PObject

This class defines a thread synchonisation object.

Inheritance:


Public Methods

[more]void StartRead ()
This function attempts to acquire the mutex for reading
[more]void EndRead ()
This function attempts to release the mutex for reading
[more]void StartWrite ()
This function attempts to acquire the mutex for writing
[more]void EndWrite ()
This function attempts to release the mutex for writing


Inherited from PObject:

Public

Run Time Type functions

Comparison functions

I/O functions

Miscellaneous functions


Documentation

This class defines a thread synchonisation object.

This is a special type of mutual exclusion, where the excluded area may have multiple read threads but only one write thread and the read threads are blocked on write as well.

ovoid StartRead()
This function attempts to acquire the mutex for reading

ovoid EndRead()
This function attempts to release the mutex for reading

ovoid StartWrite()
This function attempts to acquire the mutex for writing

ovoid EndWrite()
This function attempts to release the mutex for writing


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.