From 050f81c4fe6d53a2a5a640215ed5de2b33e150b1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 21 Sep 2018 16:53:52 +0200 Subject: [PATCH] Thread/Thread: document Start() exception --- src/thread/Thread.cxx | 2 +- 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: