X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/5ca20b5b1308faecf94f7ea1f3d91bc25f4c7903..24e97d18003e65787648061db7c23f0882f98d1a:/msg_thread.cpp?ds=sidebyside diff --git a/msg_thread.cpp b/msg_thread.cpp index 35ee01a..309d573 100644 --- a/msg_thread.cpp +++ b/msg_thread.cpp @@ -8,14 +8,14 @@ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(thrd); 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) { } @@ -61,7 +61,7 @@ int msg_thread::start_wrapper(int, char* []) 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;