mono/mono — pull request #277 by konrad-kruczynski (2012-04-22 20:41:21+00:00)
Title: FIx for problem with MRES.Wait(timeout, token) with not immediate Set

The problem occured when one waited for an event with the
cancellation token and the wait was successful but not
immediate. In that case Wait returned false instead of true,
because of wait handle number mismatch. Also the unit test was
added.