Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / MT_NoUpcall_Client_Leader / police.cpp
blob0c198804856b9555ac3545b625c3496cfa83c23e
1 #include "ace/OS_NS_sys_stat.h"
2 #include "ace/OS_NS_unistd.h"
4 void poll (const char* filename)
6 int r;
7 do
9 ACE_stat st;
10 r = ACE_OS::stat (filename, &st);
11 ACE_OS::sleep (1); // Allows time between waiting scans and for contents to be written
12 } while (r != 0);