Skip to content

Conversation

@johnboiles
Copy link
Contributor

@johnboiles johnboiles commented Jan 17, 2025

Potential improvement to the FreeRTOS POSIX port. Previously we allowed blacklisting a single thread as a thread that FreeRTOS would not touch the signals for. That was fine in tests and the simulator, but on iOS there are a bunch of system threads, so I made a thing to instead whitelist all the threads FreeRTOS creates and only allow signal modification for those threads.

I also created a FreeRTOS PR for it here.

This could possibly also improve the reliability of the test suite. I just ran the tests 100 times in a loop without any hangs.

@johnboiles johnboiles merged commit ad0ea34 into main Jan 17, 2025
13 checks passed
@johnboiles johnboiles deleted the john/freertos-threads-improvement branch January 17, 2025 22:56
samuelclay added a commit that referenced this pull request Mar 3, 2025
* main:
  Support for 24-bit RGB888 simulator and fonts (#1112)
  Revert FreeRTOS assert-on-yield behavior
  BLE defines cleanup (#1110)
  Fix compilation error in astubs (#1109)
  Codebase cleanup from the ESP32-P4 branch (#1108)
  CMake build for Freetype (#1106)
  Fix BLEAddress serialization (#1107)
  Bump esp-nimble-cpp to 2.1.1 (#1102)
  TTF 16bits rgb support (#1104)
  Support for 16-bit simulator (#1103)
  Bump esp_littlefs to v1.16.4 (#1101)
  Update FreeRTOS POSIX port and fix a freeze (#1100)
  iOS Framework Build (#1093)
  Fix hang in TestTelemetry (#1099)
  Bump to IDF 5.3.1 (#948)
  Update FreeRTOS posix port to 94263d23b (#1097)
  Prefix `Rect`/`Size`/`Point`/`Inset` types with `Sol` to avoid naming conflicts with iOS (#1090)
  FreeRTOS threads improvement (#1092)
  Fix CI for new GH ubuntu 24.04 runners (#1091)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants