diff options
Diffstat (limited to '')
-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 |