Update pvcalarm test
authorKevin Klues <klueska@cs.berkeley.edu>
Wed, 4 Jun 2014 19:38:30 +0000 (12:38 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Wed, 4 Jun 2014 19:45:49 +0000 (12:45 -0700)
commit8263989bb02f01ee9c48aad69590e826d8af47f0
treed25a413ed6c6a1361f4c56bce526e15be683dc4c
parent49e9b0685732d7f428ae80ee842626725c013753
Update pvcalarm test

Use pthread_lib_init() instead of uthread_lib_init(), which requires us
to set pthread_can_adjust_vcores to false.  Also, need to initalize
counts to 0, otherwise we miscount and break the timing loop early.
user/utest/pvcalarm.c