Ignore:
Timestamp:
Jul 27, 2015, 11:19:17 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
214d8ed
Parents:
0e3c59d6
git-author:
Sebastian Huber <sebastian.huber@…> (07/27/15 11:19:17)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/30/15 07:11:17)
Message:

score: Add thread queue for self-contained objects

File:
1 edited

Legend:

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

    r0e3c59d6 r12f93fbb  
    3333 */
    3434/**@{*/
     35
     36/**
     37 * @brief Thread queue with a layout compatible to struct _Thread_queue_Queue
     38 * defined in Newlib <sys/lock.h>.
     39 */
     40typedef struct {
     41  Thread_queue_Queue Queue;
     42
     43#if !defined(RTEMS_SMP)
     44  /*
     45   * The struct _Thread_queue_Queue definition is independent of the RTEMS
     46   * build configuration.  Thus, the storage space for the SMP lock is always
     47   * present.  In SMP configurations, the SMP lock is contained in the
     48   * Thread_queue_Queue.
     49   */
     50  unsigned int reserved[2];
     51#endif
     52} Thread_queue_Syslock_queue;
    3553
    3654RTEMS_INLINE_ROUTINE void _Thread_queue_Queue_initialize(
Note: See TracChangeset for help on using the changeset viewer.