I have changed the ms delay to 3000 in example stream2.c, on line 47, as seen below:
// ------------------------------------------------------------ // tell G-WAN when to run this script again (for the same request) // ------------------------------------------------------------ wake_up(argv, 3000, WK_MS); // WK_MS:milliseconds, WK_FD:file_descriptor
It is expected to sleep 3 sec of each round, but it responds immediately. It seems that wake_up() with WK_MS won't work. Are there any work-around?