#include <c4d_thread.h>
Main thread base class used internally by Cinema 4D . Deprecated 。使用 maxon::ThreadInterface /JobInterface etc.
公共成员函数 |
|
| Bool | TestBreak (void) |
| void | End ( Bool wait=true) |
| Bool | IsRunning (void) |
私有成员函数 |
|
| BaseThread () | |
| ~BaseThread () | |
|
|
| Bool TestBreak | ( | void | ) |
Checks if the thread received a break command to stop processing.
Normally this is only true when
Cinema 4D
is closing, or when
End()
has been called.
| void End | ( | Bool |
wait
=
true
|
) |
Ends the thread. This function will not return until the thread has completely stopped.
| [in] | wait |
Determines if thread termination is synchronous or asynchronous:
|
| Bool IsRunning | ( | void | ) |
Checks if the thread is running.