thread/Thread: Start() returns void
Since we switched to C++ exceptions, there is no code path which returns false.
This commit is contained in:
parent
9324fbf921
commit
82c66ce078
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue