comparison compat.c @ 1565:007ed833ac79

Remove pool drain from msleep() in dwcompat on the Mac.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 20 Jan 2012 04:52:12 +0000
parents 184b3aedc2ff
children
comparison
equal deleted inserted replaced
1564:d84a690448c3 1565:007ed833ac79
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((int)(period * 1000)); 44 usleep((int)(period * 1000));
45 #if defined(__MAC__) && !defined(GARBAGE_COLLECT)
46 _dw_pool_drain();
47 #endif
48 #endif 45 #endif
49 } 46 }
50 #endif 47 #endif
51 48
52 int API makedir(char *path) 49 int API makedir(char *path)