[Bug 1896] EDF scheduler implementation
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Tue Aug 30 07:07:42 UTC 2011
https://www.rtems.org/bugzilla/show_bug.cgi?id=1896
Sebastian Huber <sebastian.huber at embedded-brains.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sebastian.huber at embedded-br
| |ains.de
--- Comment #2 from Sebastian Huber <sebastian.huber at embedded-brains.de> 2011-08-30 02:07:38 CDT ---
Some more notes:
I would change
+typedef struct {
+ /**
+ * Pointer to corresponding Thread Control Block.
+ */
+ Thread_Control *the_thread;
+ /**
+ * Rbtree node related to this thread.
+ */
+ RBTree_Node the_node;
+ /**
+ * State of the thread with respect to ready queue.
+ */
+ Scheduler_EDF_Queue_state is_enqueued;
+} Scheduler_EDF_Per_thread;
into
+typedef struct {
+ RBTree_Node Node;
+ Thread_Control *thread;
+ Scheduler_EDF_Queue_state queue_state;
+} Scheduler_EDF_Per_thread;
+extern RBTree_Control _Scheduler_EDF_Ready_queue;
Maybe use SCORE_EXTERN here?
Please avoid TRUE and FALSE.
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list