Message-ID: <1400788012.41259.YahooMailNeo@web171603.mail.ir2.yahoo.com> Date: Thu, 22 May 2014 20:46:52 +0100 (BST) From: Matthias Schneider MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [Xenomai] FreeRTOS skin #2 Reply-To: Matthias Schneider List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "xenomai@xenomai.org" Hi all, after having rework extensively the FreeRTOS skin patch I feel ready=A0 for the second round of review comments. I hope no one will mind me=A0 starting a new thread for discussing it. I have tried to address all=A0 of the mentioned issues so far, plus many more. Among them: * reworked alignment macros * #define portLONG long * remapped error codes * reworked scheduler start and stop completely as suggested * reworked Scheduler.queued_task, .state and .num_tasks * added new (internal) scheduler state taskSCHEDULER_SUSPENDING * many other improvements and simplifications * only take tasklist_lock for short time Like suggested, I have gone for the simpler implementation of the task=A0 scheduler functionality and I added warnings and checks in case unsupported use cases are triggered (e.g. holding the scheduler lock on mp systems, etc= .) This still needs to be reflected in the docu. I have not yet addressed the issues of=A0 * vPortEnterCritical()/vPortExitCritical() =A0 since they are used extensively in the demo code (which is completely= =A0 =A0 hardware independent), but this can still be easily adapted. * starting thread priority inheritance (need to start a new=A0 =A0 discussion thread) * there is still a workaround for the cobalt priorities in the patch... Regards, Matthias p.s. Thank you a lot for your responsiveness addressing issues reported=A0 by me, including all the refactoring that is making my life easier! -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Initial-Freertos-commit.-2.patch.gz Type: application/x-gzip Size: 34572 bytes Desc: not available URL: