Changeset f6d0821 in rtems


Ignore:
Timestamp:
Nov 16, 1999, 4:07:52 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
88cb6b2
Parents:
c094542
Message:

Added prototype for _Thread_Reset() and numerous comments.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/include/rtems/score/thread.h

    rc094542 rf6d0821  
    387387 *  DESCRIPTION:
    388388 *
    389  *  XXX
     389 *  This routine initializes the specified the thread.  It allocates
     390 *  all memory associated with this thread.  It completes by adding
     391 *  the thread to the local object table so operations on this
     392 *  thread id are allowed.
    390393 *
    391394 *  NOTES:
     
    416419 *  DESCRIPTION:
    417420 *
    418  *  XXX
     421 *  This routine initializes the executable information for a thread
     422 *  and makes it ready to execute.  After this routine executes, the
     423 *  thread competes with all other threads for CPU time.
    419424 */
    420425 
     
    432437 *  DESCRIPTION:
    433438 *
    434  *  XXX
     439 *  This support routine restarts the specified task in a way that the
     440 *  next time this thread executes, it will begin execution at its
     441 *  original starting point.
    435442 */
    436443 
     
    444451
    445452/*
     453 *  _Thread_Reset
     454 *
     455 *  DESCRIPTION:
     456 *
     457 *  This routine resets a thread to its initial state but does
     458 *  not restart it.
     459 */
     460 
     461void _Thread_Reset(
     462  Thread_Control      *the_thread,
     463  void                *pointer_argument,
     464  unsigned32           numeric_argument
     465);
     466
     467/*
    446468 *  _Thread_Close
    447469 *
    448470 *  DESCRIPTION:
    449471 *
    450  *  XXX
     472 *  This routine frees all memory associated with the specified
     473 *  thread and removes it from the local object table so no further
     474 *  operations on this thread are allowed.
    451475 */
    452476 
  • cpukit/score/include/rtems/score/thread.h

    rc094542 rf6d0821  
    387387 *  DESCRIPTION:
    388388 *
    389  *  XXX
     389 *  This routine initializes the specified the thread.  It allocates
     390 *  all memory associated with this thread.  It completes by adding
     391 *  the thread to the local object table so operations on this
     392 *  thread id are allowed.
    390393 *
    391394 *  NOTES:
     
    416419 *  DESCRIPTION:
    417420 *
    418  *  XXX
     421 *  This routine initializes the executable information for a thread
     422 *  and makes it ready to execute.  After this routine executes, the
     423 *  thread competes with all other threads for CPU time.
    419424 */
    420425 
     
    432437 *  DESCRIPTION:
    433438 *
    434  *  XXX
     439 *  This support routine restarts the specified task in a way that the
     440 *  next time this thread executes, it will begin execution at its
     441 *  original starting point.
    435442 */
    436443 
     
    444451
    445452/*
     453 *  _Thread_Reset
     454 *
     455 *  DESCRIPTION:
     456 *
     457 *  This routine resets a thread to its initial state but does
     458 *  not restart it.
     459 */
     460 
     461void _Thread_Reset(
     462  Thread_Control      *the_thread,
     463  void                *pointer_argument,
     464  unsigned32           numeric_argument
     465);
     466
     467/*
    446468 *  _Thread_Close
    447469 *
    448470 *  DESCRIPTION:
    449471 *
    450  *  XXX
     472 *  This routine frees all memory associated with the specified
     473 *  thread and removes it from the local object table so no further
     474 *  operations on this thread are allowed.
    451475 */
    452476 
Note: See TracChangeset for help on using the changeset viewer.