Ignore:
Timestamp:
May 14, 2021, 7:31:47 AM (2 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
b9083c55
Parents:
b87d2a6
git-author:
Sebastian Huber <sebastian.huber@…> (05/14/21 07:31:47)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/14/21 07:37:19)
Message:

score: Return status in _Thread_Restart_other()

This simplifies rtems_task_restart().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/score/threadimpl.h

    rb87d2a6 r57be57c7  
    287287 * @brief Restarts the thread.
    288288 *
    289  * @param[in, out] the_thread The thread to restart.
    290  * @param entry The start entry information for @a the_thread.
    291  * @param lock_context The lock context.
    292  *
    293  * @retval true The operation was successful.
    294  * @retval false The operation failed.
    295  */
    296 bool _Thread_Restart_other(
     289 * @param[in, out] the_thread is the thread to restart.
     290 *
     291 * @param entry is the new start entry information for the thread to restart.
     292 *
     293 * @param[in, out] lock_context is the lock context with interrupts disabled.
     294 *
     295 * @retval STATUS_SUCCESSFUL The operation was successful.
     296 *
     297 * @retval STATUS_INCORRECT_STATE The thread was dormant.
     298 */
     299Status_Control _Thread_Restart_other(
    297300  Thread_Control                 *the_thread,
    298301  const Thread_Entry_information *entry,
Note: See TracChangeset for help on using the changeset viewer.