Skip to content

Commit

Permalink
base_c: fixed pthread api error reported by helgrind
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus Winter committed Dec 21, 2016
1 parent 99ee8fa commit 256c2e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions base_c/test/mutex_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ void SpinLockTest::TestSpinLockTooManySpins() {
return_code = embb_spin_try_lock(&spinlock_, 100);
PT_ASSERT(return_code == EMBB_SUCCESS);

embb_spin_unlock(&spinlock_);

embb_spin_destroy(&spinlock_);
}

Expand Down

0 comments on commit 256c2e5

Please sign in to comment.