mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 02:18:04 +01:00
Remove trailing whitespace (#3668)
This commit is contained in:
@@ -35,16 +35,16 @@ namespace Poco {
|
||||
|
||||
|
||||
class Foundation_API Semaphore: private SemaphoreImpl
|
||||
/// A Semaphore is a synchronization object with the following
|
||||
/// A Semaphore is a synchronization object with the following
|
||||
/// characteristics:
|
||||
/// A semaphore has a value that is constrained to be a non-negative
|
||||
/// integer and two atomic operations. The allowable operations are V
|
||||
/// (here called set()) and P (here called wait()). A V (set()) operation
|
||||
/// increases the value of the semaphore by one.
|
||||
/// A P (wait()) operation decreases the value of the semaphore by one,
|
||||
/// provided that can be done without violating the constraint that the
|
||||
/// value be non-negative. A P (wait()) operation that is initiated when
|
||||
/// the value of the semaphore is 0 suspends the calling thread.
|
||||
/// integer and two atomic operations. The allowable operations are V
|
||||
/// (here called set()) and P (here called wait()). A V (set()) operation
|
||||
/// increases the value of the semaphore by one.
|
||||
/// A P (wait()) operation decreases the value of the semaphore by one,
|
||||
/// provided that can be done without violating the constraint that the
|
||||
/// value be non-negative. A P (wait()) operation that is initiated when
|
||||
/// the value of the semaphore is 0 suspends the calling thread.
|
||||
/// The calling thread may continue when the value becomes positive again.
|
||||
{
|
||||
public:
|
||||
@@ -60,7 +60,7 @@ public:
|
||||
/// greater than zero, n must be greater than
|
||||
/// or equal to zero and less than or equal
|
||||
/// to max.
|
||||
|
||||
|
||||
~Semaphore();
|
||||
/// Destroys the semaphore.
|
||||
|
||||
@@ -73,7 +73,7 @@ public:
|
||||
void wait();
|
||||
/// Waits for the semaphore to become signalled.
|
||||
/// To become signalled, a semaphore's value must
|
||||
/// be greater than zero.
|
||||
/// be greater than zero.
|
||||
/// Decrements the semaphore's value by one.
|
||||
|
||||
void wait(long milliseconds);
|
||||
@@ -95,7 +95,7 @@ public:
|
||||
/// time interval, false otherwise.
|
||||
/// Decrements the semaphore's value by one
|
||||
/// if successful.
|
||||
|
||||
|
||||
private:
|
||||
Semaphore();
|
||||
Semaphore(const Semaphore&);
|
||||
|
||||
Reference in New Issue
Block a user