struct WaitQueueOrderingTests

Defined at line 21 of file ../../zircon/kernel/tests/wait_queue_ordering_tests.cc

Public Methods

bool Test ()

Note that we disable static thread analysis for this test. Typically,

working with the internal state of threads and wait queues requires holding

particular locks at particular times in order to guarantee consistency and

proper memory ordering semantics.

In these tests, however, are threads and wait queue collections are

basically fake. The threads are only ever partially initialized, and are

never run or made available to be scheduled. Neither the "threads" nor the

"wqc" will ever be exposed outside of the test, and since

inserting/removing/peeking WQCs never interacts with any global state, it

should be fine to disable static analysis for this test.

Defined at line 34 of file ../../zircon/kernel/tests/wait_queue_ordering_tests.cc