#include "test.h"
+#ifndef RTE_EXEC_ENV_WINDOWS
static volatile int flag;
static void
flag = 1;
printf("Callback setting flag - OK. [cb_arg = %p]\n", cb_arg);
}
+#endif
static int
test_alarm(void)
return 0;
#endif
+#ifndef RTE_EXEC_ENV_WINDOWS
/* check if it will fail to set alarm with wrong us value */
printf("check if it will fail to set alarm with wrong ms values\n");
if (rte_eal_alarm_set(0, test_alarm_callback,
printf("should not be successful with (UINT64_MAX-1) us value\n");
return -1;
}
+#endif
/* check if it will fail to set alarm with null callback parameter */
printf("check if it will fail to set alarm with null callback parameter\n");