diff options
author | Michel JAOUEN <michel.jaouen@stericsson.com> | 2012-01-03 16:07:55 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvindharboe@gmail.com> | 2012-01-15 22:09:27 +0000 |
commit | ff3028ce1baec2522059108331846d3fd320b846 (patch) | |
tree | 0f90cb06d9f3215b721e84942e399d4baa2b6792 /src/rtos/rtos.h | |
parent | 1db60b9c434fc281bd25730e7398e92023cfe65d (diff) |
rtos : current_threadid move to rtos context
Change-Id: I49d9d6d64c418be601d8723cb3eea9c3716ecb6b
Signed-off-by: Michel JAOUEN <michel.jaouen@stericsson.com>
Reviewed-on: http://openocd.zylin.com/343
Tested-by: jenkins
Reviewed-by: Evan Hunter <evan@ozhiker.com>
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
Diffstat (limited to 'src/rtos/rtos.h')
-rw-r--r-- | src/rtos/rtos.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rtos/rtos.h b/src/rtos/rtos.h index 93a980e2..df0812fc 100644 --- a/src/rtos/rtos.h +++ b/src/rtos/rtos.h @@ -57,7 +57,8 @@ struct rtos symbol_table_elem_t * symbols; struct target *target; - + /* add a context variable instead of global variable */ + int64_t current_threadid; threadid_t current_thread; struct thread_detail* thread_details; int thread_count; |