alxhoff / FreeRTOS-Emulator

POSIX based FreeRTOS emulator with SDL2 graphics interface and multiple async communications interfaces, aiming to make it possible to teach FreeRTOS without embedded hardware using similar processes
https://alxhoff.github.io/FreeRTOS-Emulator/
GNU General Public License v3.0
60 stars 105 forks source link

Fix event polling by moving it to draw loop #13

Closed PhilippvK closed 4 years ago

PhilippvK commented 4 years ago

Same here: ask me for my intentions.

Without this, i had constant crashes on every OS except Ubuntu.

I understand, that it would be nicer to have a separate update loop for events (at a higher refresh rate than 20ms). We COULD realize this by having 2 Semaphores notifying between the Frame Swapper Task and the Event Polling Routine but this would probably also add some overheads...

PhilippvK commented 4 years ago

Gonna have to resolve conflicts first. Thanks for merging the other stuff!

alxhoff commented 4 years ago

hahah yer there are a few :P

PhilippvK commented 4 years ago

Do not bother with them. I will.

alxhoff commented 4 years ago

5 not fixed yet :/

PhilippvK commented 4 years ago

I think I have to install manjaro...

alxhoff commented 4 years ago

I think I have to install manjaro...

it is a good distro :)

PhilippvK commented 4 years ago

But I am running out of disk space :p

Am Mi., 1. Apr. 2020 um 17:18 Uhr schrieb Alex Hoffman < notifications@github.com>:

I think I have to install manjaro...

it is a good distro :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alxhoff/FreeRTOS-Emulator/pull/13#issuecomment-607311522, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB226XIQWJQC4G64JFAPAV3RKNLLDANCNFSM4LW26UCQ .

alxhoff commented 4 years ago

Time to switch to manjaro then