]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/unix/thread.cpp
Update naming of internal variables and functions
[libs/core.git] / source / core / unix / thread.cpp
index 119d55f0571600a4b57de1bd1fea054acc1fb9d2..1ddcaaea4bcf947a50fb411f0991a86b8b47def9 100644 (file)
@@ -7,24 +7,24 @@ namespace Msp {
 
 void Thread::platform_join()
 {
-       pthread_join(priv_->handle, 0);
+       pthread_join(_priv->handle, 0);
 }
 
 void Thread::platform_kill()
 {
-       pthread_kill(priv_->handle, SIGKILL);
+       pthread_kill(_priv->handle, SIGKILL);
 }
 
 void Thread::platform_launch()
 {
-       pthread_create(&priv_->handle, 0, &Private::main_wrapper, this);
+       pthread_create(&_priv->handle, 0, &Private::main_wrapper, this);
 }
 
 void Thread::platform_setname()
 {
 #if defined(__GLIBC__) && (__GLIBC__>2 || (__GLIBC__==2 && __GLIBC_MINOR__>=12))
-       if(!name_.empty())
-               pthread_setname_np(priv_->handle, name_.c_str());
+       if(!_name.empty())
+               pthread_setname_np(_priv->handle, _name.c_str());
 #endif
 }