Fix assertion in test-mono-linked-list-set
authorAndrea Canciani <ranma42@gmail.com>
Wed, 9 Apr 2014 20:55:43 +0000 (22:55 +0200)
committerAndrea Canciani <ranma42@gmail.com>
Wed, 9 Apr 2014 21:10:25 +0000 (23:10 +0200)
commit78a64f733153a029f7079064110e7b37dd79cbb6
tree069644e10aaf9234ca751789d481e3e460d8e127
parent217e071a4000d4924fd406cf2c61586cd8142939
Fix assertion in test-mono-linked-list-set

When running 'make check', test-mono-linked-list-set fails with:

* Assertion at hazard-pointer.c:353, condition `small_id == i' not met

This happens since 71ad74dc11c5fa4bc8c178a5457d2cab732fdb01, because
that commit changes the behaviour of mono_thread_smr_init() so that
invoking it should not be invoked more than once.
mono/unit-tests/test-mono-linked-list-set.c