comparison compat.c @ 872:13debcad9757

Another test fix at reported crash in dw_window_default(). Also committed a change in compat when garbage collection is used.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 04 Apr 2011 22:40:42 +0000
parents b15ad609365e
children 1c24949cf853
comparison
equal deleted inserted replaced
871:b15ad609365e 872:13debcad9757
40 req.tv_nsec = period * 10000000; 40 req.tv_nsec = period * 10000000;
41 41
42 nanosleep(&req, NULL); 42 nanosleep(&req, NULL);
43 #else 43 #else
44 usleep(period * 1000); 44 usleep(period * 1000);
45 #ifdef __MAC__ 45 #if defined(__MAC__) && !defined(GARBAGE_COLLECT)
46 _dw_pool_drain(); 46 _dw_pool_drain();
47 #endif 47 #endif
48 #endif 48 #endif
49 } 49 }
50 #endif 50 #endif