Changeset 125f248 in rtems for cpukit/sapi


Ignore:
Timestamp:
Nov 16, 2016, 3:39:43 PM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
a4217c6
Parents:
84e6f15
git-author:
Sebastian Huber <sebastian.huber@…> (11/16/16 15:39:43)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/23/16 11:52:06)
Message:

score: Add thread queue enqueue callout

Replace the expected thread dispatch disable level with a thread queue
enqueue callout. This enables the use of _Thread_Dispatch_direct() in
the thread queue enqueue procedure. This avoids impossible exection
paths, e.g. Per_CPU_Control::dispatch_necessary is always true.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/src/interrtext.c

    r84e6f15 r125f248  
    4646  "INTERNAL_ERROR_IMPLEMENTATION_KEY_CREATE_INCONSISTENCY",
    4747  "OBSOLETE_INTERNAL_ERROR_IMPLEMENTATION_BLOCKING_OPERATION_CANCEL",
    48   "INTERNAL_ERROR_THREAD_QUEUE_ENQUEUE_FROM_BAD_STATE",
     48  "OBSOLETE_INTERNAL_ERROR_THREAD_QUEUE_ENQUEUE_FROM_BAD_STATE",
    4949  "INTERNAL_ERROR_UNLIMITED_AND_MAXIMUM_IS_0",
    5050  "OBSOLETE_INTERNAL_ERROR_SHUTDOWN_WHEN_NOT_UP",
Note: See TracChangeset for help on using the changeset viewer.