thread/Thread: throw std::system_error on error

This commit is contained in:
Max Kellermann
2016-06-17 19:06:30 +02:00
parent fea3f6cc72
commit d3c7fac606
11 changed files with 21 additions and 53 deletions

View File

@@ -78,10 +78,8 @@ public:
/**
* Initialize the object and start the thread.
*
* @return false on error
*/
InputStream *Start(Error &error);
void Start();
/* virtual methods from InputStream */
bool Check(Error &error) override final;