From: Fabian K. <fab...@us...> - 2012-05-27 15:38:56
|
Update of /cvsroot/ijbswa/current In directory vz-cvs-4.sog:/tmp/cvs-serv32262 Modified Files: w32log.c Log Message: Finish the previous commit, the added comment wasn't the final version Index: w32log.c =================================================================== RCS file: /cvsroot/ijbswa/current/w32log.c,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** w32log.c 27 May 2012 15:36:15 -0000 1.46 --- w32log.c 27 May 2012 15:38:53 -0000 1.47 *************** *** 551,554 **** --- 551,562 ---- void LogShowActivity(void) { + int i; + + /* Try to figure out if SetIdleIcon() is thread-safe */ + for (i = 0; i < 1000; i++) + { + SetIdleIcon(); + } + /* Start some activity timers */ if (g_bShowActivityAnimation) *************** *** 950,954 **** "Now toggled %s", global_toggle_state ? "ON" : "OFF"); /* ! * Overload TIMER_ANIMSTOP_ID to set the idle icon through the * "application queue". According to MSDN, 10 milliseconds are * the lowest value possible and seem to be close enough to --- 958,962 ---- "Now toggled %s", global_toggle_state ? "ON" : "OFF"); /* ! * Leverage TIMER_ANIMSTOP_ID to set the idle icon through the * "application queue". According to MSDN, 10 milliseconds are * the lowest value possible and seem to be close enough to |