Remove trailing whitespace (#3668)

This commit is contained in:
John Vandenberg
2022-07-07 17:18:20 +08:00
committed by GitHub
parent 0af9524e16
commit 0e6e16645c
1330 changed files with 23570 additions and 23571 deletions

View File

@@ -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&);