From: Brian Norris Date: Wed, 13 Feb 2013 00:54:38 +0000 (-0800) Subject: threads: bugfix - do not call thread_current() from model-checker X-Git-Tag: oopsla2013~258 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;ds=sidebyside;h=3e520de48b5be0b0d4fa4a5f033e207b17c4496d;hp=3e520de48b5be0b0d4fa4a5f033e207b17c4496d;p=model-checker.git threads: bugfix - do not call thread_current() from model-checker thread_current() was designed for use in the user context. It is not guaranteed to provide a reliable result in the model-checker context, since we may perform context switches as needed, such that the "last executed user thread" may not be the thread that we are checking at the time. This change is made to clear up future changes that will modify the scheduling patterns. ---