Revert^2 "Perform SetEvent under the user_code_suspend_count_lock_"
If we needed to condition-wait for a gc to finish we would trigger an overly restrictive deadlock check. This passed testing because normally the Wait will not be executed. To prevent this type of issue from occuring in the future we added a way for code to assert that condition-waiting is allowed without actually going to sleep. This reverts commit eaa4831142fa58f176ddad52c0d5e9c288e26b81. Reason for revert: Relaxed too-strict check in CheckSafeToWait. Test: ./test.py --host Bug: 130150240 Merged-In: I8359e595cdd73f49cb68c8c70d755cab0e563ac7 Change-Id: I8359e595cdd73f49cb68c8c70d755cab0e563ac7 (cherry picked from commit 66834468e9106e264a74766c17a0c047a3448921)
Loading
Please sign in to comment