From d78d5294cd076b48160e12c2f52a940d783b4dac Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 14 Nov 2016 09:11:07 +0100 Subject: score: Add and use _Thread_Dispatch_direct() This function is useful for operations which synchronously block, e.g. self restart, self deletion, yield, sleep. It helps to detect if these operations are called in the wrong context. Since the thread dispatch necessary indicator is not used, this is more robust in some SMP situations. Update #2751. --- cpukit/sapi/src/interrtext.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpukit/sapi/src/interrtext.c') diff --git a/cpukit/sapi/src/interrtext.c b/cpukit/sapi/src/interrtext.c index 665302283b..edf09dbd93 100644 --- a/cpukit/sapi/src/interrtext.c +++ b/cpukit/sapi/src/interrtext.c @@ -56,7 +56,8 @@ static const char *const internal_error_text[] = { "INTERNAL_ERROR_RTEMS_INIT_TASK_ENTRY_IS_NULL", "INTERNAL_ERROR_POSIX_INIT_THREAD_ENTRY_IS_NULL", "INTERNAL_ERROR_THREAD_QUEUE_DEADLOCK", - "INTERNAL_ERROR_THREAD_QUEUE_ENQUEUE_STICKY_FROM_BAD_STATE" + "INTERNAL_ERROR_THREAD_QUEUE_ENQUEUE_STICKY_FROM_BAD_STATE", + "INTERNAL_ERROR_BAD_THREAD_DISPATCH_DISABLE_LEVEL" }; const char *rtems_internal_error_text( rtems_fatal_code error ) -- cgit v1.2.3