Commit 82c66ce0 authored by Max Kellermann's avatar Max Kellermann

thread/Thread: Start() returns void

Since we switched to C++ exceptions, there is no code path which returns false.
parent 9324fbf9
......@@ -25,7 +25,7 @@
#include "java/Global.hxx"
#endif
bool
void
Thread::Start(void (*_f)(void *ctx), void *_ctx)
{
assert(!IsDefined());
......@@ -56,8 +56,6 @@ Thread::Start(void (*_f)(void *ctx), void *_ctx)
creating = false;
#endif
#endif
return true;
}
void
......
......@@ -89,7 +89,7 @@ public:
#endif
}
bool Start(void (*f)(void *ctx), void *ctx);
void Start(void (*f)(void *ctx), void *ctx);
void Join();
private:
......
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