Commit e1b98267 authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[DOC #541] small improvements to documentation

parent 31552287
......@@ -36,7 +36,7 @@
/**
* Class to encapsulate boost::condition_variable_any. You may use it to efficiently wait for events (a condition comes true). It
* is a very simple implementation. It might be extended easily. Timed wait functions and so on.
* is a very simple implementation. It can be extended easily, e.g. to timed wait functions and so on.
*/
class WCondition // NOLINT
{
......
......@@ -35,7 +35,7 @@
/**
* Implements a WCondition, but can be fired only ONCE. This is useful if you want to have a thread waiting for a condition but
* you can not assure that the thread already waits when you set the condition. This would cause the thread to wait endlessly
* because he does not know that you already fired it. Implementation is simple. The constructor uses a unique lock (write lock)
* because it does not know that you already fired it. Implementation is simple. The constructor uses a unique lock (write lock)
* on a mutex. All waiting threads try to get a read lock which is not possible as long it is write-locked. The notify method
* releases the write lock and all waiting threads can continue.
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment