aboutsummaryrefslogtreecommitdiff
path: root/src/stable/thread.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2023-07-29 00:19:13 -0700
committerMike Buland <eichlan@xagasoft.com>2023-07-29 00:19:13 -0700
commit412173a23c88a49ebaeb982e0c7eeddc5662b8cc (patch)
treeb00519e715b3ffecd342746e433d8e2dc0eb308e /src/stable/thread.cpp
parent915005e218b5d00939b548de65ce6354f7acb487 (diff)
downloadlibbu++-412173a23c88a49ebaeb982e0c7eeddc5662b8cc.tar.gz
libbu++-412173a23c88a49ebaeb982e0c7eeddc5662b8cc.tar.bz2
libbu++-412173a23c88a49ebaeb982e0c7eeddc5662b8cc.tar.xz
libbu++-412173a23c88a49ebaeb982e0c7eeddc5662b8cc.zip
Many bugfixes. It's almost working!
Diffstat (limited to 'src/stable/thread.cpp')
-rw-r--r--src/stable/thread.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stable/thread.cpp b/src/stable/thread.cpp
index 5fe034a..99239e9 100644
--- a/src/stable/thread.cpp
+++ b/src/stable/thread.cpp
@@ -77,3 +77,8 @@ void Bu::Thread::yield()
77 sched_yield(); 77 sched_yield();
78} 78}
79 79
80void Bu::Thread::setName( const char *sName )
81{
82 pthread_setname_np( ptHandle, sName );
83}
84