fix timer test=develop

revert-15207-remove_op_handle_lock_and_fix_var
peizhilin 6 years ago
parent eebb82a2f6
commit 813c2ce539

@ -16,6 +16,13 @@ limitations under the License. */
#include <stdlib.h>
#include "paddle/fluid/platform/port.h"
#ifdef _WIN32
static unsigned sleep(unsigned seconds) {
Sleep(seconds * 1000);
return 0;
}
#endif
namespace paddle {
namespace platform {

Loading…
Cancel
Save