You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't found time to test semaphore's functions.
A quick test of sample3 show broken behavior, the program get stuck under Freemint.
Replacing <semaphore.h> by "./semaphore.h" fixes the issue.
Please consider testing the semaphore examples I've already provided before.
Those examples were tested under linux/osx and freemint in order to validate same behavior on both environment.
I've more clue:
If you use example3, and select more consumers than producers (producers:2, consumers:3, buffer:128) then current mintlib implementation get stuked.
It works as expected with the semaphore header attached.
Hi,
I haven't found time to test semaphore's functions.
A quick test of sample3 show broken behavior, the program get stuck under Freemint.
Replacing <semaphore.h> by "./semaphore.h" fixes the issue.
Please consider testing the semaphore examples I've already provided before.
Those examples were tested under linux/osx and freemint in order to validate same behavior on both environment.
Attached those examples and a working one header semaphore implementation.
sample2.cpp.zip
sample3.cpp.zip
semaphore.h.zip
The text was updated successfully, but these errors were encountered: