msg_thread::msg_thread()
: started(false)
- , thread(NULL)
+ , thread(nullptr)
, thread_name("msg_thread")
{
}
msg_thread::msg_thread(const char* name)
: started(false)
- , thread(NULL)
+ , thread(nullptr)
, thread_name(name)
{
}
XBT_DEBUG("terminate \"%s\"", self->thread_name.c_str());
self->mutex.acquire();
- self->thread = NULL;
+ self->thread = nullptr;
self->cond.signal();
self->mutex.release();
return 0;