Report
2 years, 2 months ago.

Return value of Thread::signal_wait does always have evt.status=osEventSignal. Intentional?

The return value of Thread::signal_wait has evt.status set to osEventSignal even when exited by timeout. Is this intentional? It seems like evt.status being set in the method's switch statement is overwritten just before the method returns.

Question relating to:

Comment on this question

1 Answer

2 years, 2 months ago.

Hi, thanks for rising it. I found it couple of days ago myself when extending test coverage, it'll be fixed here https://github.com/ARMmbed/mbed-os/pull/4620

Any idea when this fix will find its way into the main branch?

posted by Nicholas Outram 30 Jun 2017

I would hope for later this week.

posted by Bartosz Szatkowski 03 Jul 2017