mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 10:32:56 +01:00
Remove trailing whitespace (#3668)
This commit is contained in:
@@ -26,7 +26,7 @@ namespace Poco {
|
||||
|
||||
|
||||
class Foundation_API ThreadTarget: public Runnable
|
||||
/// This adapter simplifies using static member functions as well as
|
||||
/// This adapter simplifies using static member functions as well as
|
||||
/// standalone functions as targets for threads.
|
||||
/// Note that it is possible to pass those entities directly to Thread::start().
|
||||
/// This adapter is provided as a convenience for higher abstraction level
|
||||
@@ -34,7 +34,7 @@ class Foundation_API ThreadTarget: public Runnable
|
||||
///
|
||||
/// For using a non-static member function as a thread target, please
|
||||
/// see the RunnableAdapter class.
|
||||
///
|
||||
///
|
||||
/// Usage:
|
||||
/// class MyObject
|
||||
/// {
|
||||
@@ -45,18 +45,18 @@ class Foundation_API ThreadTarget: public Runnable
|
||||
/// thr.start(ra);
|
||||
///
|
||||
/// or:
|
||||
///
|
||||
///
|
||||
/// void doSomething() {}
|
||||
///
|
||||
///
|
||||
/// ThreadTarget ra(doSomething);
|
||||
/// Thread thr;
|
||||
/// thr.start(ra);
|
||||
{
|
||||
public:
|
||||
typedef void (*Callback)();
|
||||
|
||||
|
||||
ThreadTarget(Callback method);
|
||||
|
||||
|
||||
ThreadTarget(const ThreadTarget& te);
|
||||
|
||||
~ThreadTarget();
|
||||
@@ -64,7 +64,7 @@ public:
|
||||
ThreadTarget& operator = (const ThreadTarget& te);
|
||||
|
||||
void run();
|
||||
|
||||
|
||||
private:
|
||||
ThreadTarget();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user