RTEMS | Implementing MicroPython Support and Packaging It For RTEMS (#22)
Sameer Srivastava (@l1zard)
gitlab at rtems.org
Tue Aug 26 19:14:16 UTC 2025
Sameer Srivastava commented: https://gitlab.rtems.org/groups/rtems/-/work_items/22#note_129556
Update on `_thread` problems:
I was able to fix the issue I describe above by passing `RTEMS_TIMESLICE` during Task creation, configuring `TICKS_PER_TIMESLICE` and adding a `rtems_task_wake_after(0)` to yield when new (MicroPython) threads are created.
There are now **25 passing tests out of 39 total for threads**. The thread and lock lifecycle is working now and most of the failing tests seem to be related to stack overflows and QSTR related errors. I have updated the tests [issue](https://gitlab.rtems.org/l1zard/micropython/-/issues/1#note_129555) with my observations.
--
View it on GitLab: https://gitlab.rtems.org/groups/rtems/-/work_items/22#note_129556
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250826/38ac0ce8/attachment-0001.htm>
More information about the bugs
mailing list