systemclock: Clean up the tests a bit.
Add some cleanups to the system clock tests, to free all the memory and unschedule/unref all clock IDs we allocate. Use a mutex in one test to avoid potential threading problems on multicore machines.
Please register or sign in to comment