diff options
Diffstat (limited to '')
| -rw-r--r-- | src/stable/thread.cpp | 5 |
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 | ||
| 80 | void Bu::Thread::setName( const char *sName ) | ||
| 81 | { | ||
| 82 | pthread_setname_np( ptHandle, sName ); | ||
| 83 | } | ||
| 84 | |||
