diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-01-12 13:46:55 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-01-13 08:10:28 +0100 |
commit | da6ad56a68676d68782ddcbd443a57337c84ee06 (patch) | |
tree | 65340ed747fc5f73fc8fc601f25f0fa2846704cd /cpukit/score/include/rtems/score/threadimpl.h | |
parent | score: Add and use _Thread_Get_name() (diff) | |
download | rtems-da6ad56a68676d68782ddcbd443a57337c84ee06.tar.bz2 |
score: Add _Thread_Set_name()
Add configuration option CONFIGURE_MAXIMUM_THREAD_NAME_SIZE.
Update #2858.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/threadimpl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/threadimpl.h b/cpukit/score/include/rtems/score/threadimpl.h index cb9e8e6539..8ddf74e160 100644 --- a/cpukit/score/include/rtems/score/threadimpl.h +++ b/cpukit/score/include/rtems/score/threadimpl.h @@ -1951,6 +1951,11 @@ RTEMS_INLINE_ROUTINE void _Thread_Remove_timer_and_unblock( #endif } +Status_Control _Thread_Set_name( + Thread_Control *the_thread, + const char *name +); + size_t _Thread_Get_name( const Thread_Control *the_thread, char *buffer, |