Skip to content
Snippets Groups Projects
  • Nadav Har'El's avatar
    3677386c
    Add yield() test · 3677386c
    Nadav Har'El authored
    The following test currently frequently crashes - with an abort or
    assertion failure.
    
    It's a very simple test, where 10 threads do an endless yield() loop.
    While yield() itself is not very important - and doesn't even implement
    the promise of sched_yield(2) to move the thread to the end of the run
    queue - this test failure may be the sign of a scheduler bug that needs to
    be fixed.
    3677386c
    History
    Add yield() test
    Nadav Har'El authored
    The following test currently frequently crashes - with an abort or
    assertion failure.
    
    It's a very simple test, where 10 threads do an endless yield() loop.
    While yield() itself is not very important - and doesn't even implement
    the promise of sched_yield(2) to move the thread to the end of the run
    queue - this test failure may be the sign of a scheduler bug that needs to
    be fixed.