diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-11-11 09:00:03 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-11-23 11:00:28 +0100 |
commit | 2e56aabdb1035bd102713382dd03e9b0955eb1f2 (patch) | |
tree | 9296c9921413c1bfc34617b369c785a7a7d9806b /cpukit/include/rtems/score/threadqimpl.h | |
parent | score: Simplify thread wait state handling (diff) | |
download | rtems-2e56aabdb1035bd102713382dd03e9b0955eb1f2.tar.bz2 |
score: Move _Thread_queue_Extract()
Move _Thread_queue_Extract() since this function is not used by the core
services (threads, semaphores, mutexes, message queues).
Update #4546.
Diffstat (limited to 'cpukit/include/rtems/score/threadqimpl.h')
-rw-r--r-- | cpukit/include/rtems/score/threadqimpl.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/include/rtems/score/threadqimpl.h b/cpukit/include/rtems/score/threadqimpl.h index 18317873c4..7dd7250acf 100644 --- a/cpukit/include/rtems/score/threadqimpl.h +++ b/cpukit/include/rtems/score/threadqimpl.h @@ -1296,18 +1296,23 @@ RTEMS_INLINE_ROUTINE void _Thread_queue_Destroy( #endif } +#if defined(RTEMS_MULTIPROCESSING) /** * @brief Does nothing. * * @param the_proxy This parameter is unused. * @param mp_id This parameter is unused. */ -#if defined(RTEMS_MULTIPROCESSING) void _Thread_queue_MP_callout_do_nothing( Thread_Control *the_proxy, Objects_Id mp_id ); +bool _Thread_queue_MP_set_callout( + Thread_Control *the_thread, + const Thread_queue_Context *queue_context +); + /** * @brief Unblocks the proxy of the thread. * |