diff options
author | Max Kellermann <max@musicpd.org> | 2018-09-21 16:53:52 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-09-21 16:53:52 +0200 |
commit | 050f81c4fe6d53a2a5a640215ed5de2b33e150b1 (patch) | |
tree | f97da0dcdfaaf18eb0d59c0fc716c8b9333048d0 | |
parent | c9ee6dd4ca730b019299bab0dcafe84af3240528 (diff) |
Thread/Thread: document Start() exception
-rw-r--r-- | src/thread/Thread.cxx | 2 | ||||
-rw-r--r-- | src/thread/Thread.hxx | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/thread/Thread.cxx b/src/thread/Thread.cxx index d1f18522f..80d72caed 100644 --- a/src/thread/Thread.cxx +++ b/src/thread/Thread.cxx @@ -1,5 +1,5 @@ /* - * Copyright 2003-2017 The Music Player Daemon Project + * Copyright 2003-2018 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify diff --git a/src/thread/Thread.hxx b/src/thread/Thread.hxx index 7f724a627..c0d35a91c 100644 --- a/src/thread/Thread.hxx +++ b/src/thread/Thread.hxx @@ -1,5 +1,5 @@ /* - * Copyright 2003-2017 The Music Player Daemon Project + * Copyright 2003-2018 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -94,7 +94,13 @@ public: } #endif + /** + * Start the thread. + * + * Throws on error. + */ void Start(); + void Join() noexcept; private: |