diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2023-07-29 00:19:13 -0700 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2023-07-29 00:19:13 -0700 |
| commit | 412173a23c88a49ebaeb982e0c7eeddc5662b8cc (patch) | |
| tree | b00519e715b3ffecd342746e433d8e2dc0eb308e /src/stable/thread.h | |
| parent | 915005e218b5d00939b548de65ce6354f7acb487 (diff) | |
| download | libbu++-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.h')
| -rw-r--r-- | src/stable/thread.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/stable/thread.h b/src/stable/thread.h index 5174d1c..0a64390 100644 --- a/src/stable/thread.h +++ b/src/stable/thread.h | |||
| @@ -124,6 +124,12 @@ namespace Bu | |||
| 124 | */ | 124 | */ |
| 125 | void yield(); | 125 | void yield(); |
| 126 | 126 | ||
| 127 | /** | ||
| 128 | * Sets the name of the thread. The sName parameter must be a C string | ||
| 129 | * with a max length of 16 bytes including null terminator. | ||
| 130 | */ | ||
| 131 | void setName( const char *sName ); | ||
| 132 | |||
| 127 | private: | 133 | private: |
| 128 | /** | 134 | /** |
| 129 | * This is the hidden-heart of the thread system. While run is what the | 135 | * This is the hidden-heart of the thread system. While run is what the |
