static void* tcpThread(void* data) { UNUSED(data); dyad_init(); dyad_setTickInterval(0.2f); dyad_setUpdateTimeout(0.5f); while (workerRunning) { dyad_update(); } dyad_shutdown(); printf("tcpThread end!!\n"); return NULL; }
static void setTickInterval(double seconds) { dyad_setTickInterval(seconds); }