Checks abort in SpewPhrases; resolves #402
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1014 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1335,6 +1335,9 @@ SpewPhrases (COUNT wait_track)
|
|||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
if (GLOBAL (CurrentActivity) & CHECK_ABORT)
|
||||||
|
break;
|
||||||
|
|
||||||
ClearSemaphore (GraphicsSem);
|
ClearSemaphore (GraphicsSem);
|
||||||
/* FIXME: is this a ramnant of 128-tick clock?
|
/* FIXME: is this a ramnant of 128-tick clock?
|
||||||
* with 120-tick clock this will sleep for 1 tick --
|
* with 120-tick clock this will sleep for 1 tick --
|
||||||
|
|||||||
Reference in New Issue
Block a user