This website requires JavaScript.
Explore
Help
Sign In
ehmry
/
genode
Watch
1
Star
0
Fork
You've already forked genode
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
1f7fd647da
genode
/
repos
/
ports
/
ports
/
virtualbox.hash
2 lines
41 B
Plaintext
Raw
Normal View
History
Unescape
Escape
vbox: wait longer for stable timer state Some functions in the time manager, for example 'TMTimerSet()' and 'TMTimerStop()' let VirtualBox abort with a failed assertion if the timer does not change to a 'stable' state after 1000 calls of a mixture of 'yield' and 'sleep'. On Genode, this happens sometimes when the 'EMT' thread is executing 'TMTimerSet()' and gets interrupted by the 'TAP' thread, which calls 'TMTimerStop()' and waits for the 'EMT' thread to finish setting the timer. Since the 'EMT' thread has the lowest priority, 1000 retries can be too few. Without the assertion, these functions would return an error code, which is often ignored by the caller, so it seems safer to keep retrying until the function can return successfully. Fixes #1437
2015-03-05 19:31:41 +01:00
21c8fc5eade0a7bc64c3a494b53228a57cbfe995