mirror of
https://github.com/lxsang/antd-wvnc-plugin.git
synced 2024-12-26 20:08:22 +01:00
add data validity to scheduler
This commit is contained in:
parent
568fdfe290
commit
46ef7ca8d8
4
wvnc.c
4
wvnc.c
@ -660,7 +660,7 @@ void* handle(void *data)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
pthread_detach(th);
|
pthread_detach(th);
|
||||||
task = antd_create_task(NULL, NULL, NULL);
|
task = antd_create_task(NULL, NULL, NULL, time(NULL));
|
||||||
task->priority++;
|
task->priority++;
|
||||||
return task;
|
return task;
|
||||||
}
|
}
|
||||||
@ -671,7 +671,7 @@ void* handle(void *data)
|
|||||||
__t(cl, "Welcome to WVNC, please use a websocket connection");
|
__t(cl, "Welcome to WVNC, please use a websocket connection");
|
||||||
|
|
||||||
}
|
}
|
||||||
task = antd_create_task(NULL, (void *)rq, NULL);
|
task = antd_create_task(NULL, (void *)rq, NULL, rq->client->last_io);
|
||||||
task->priority++;
|
task->priority++;
|
||||||
return task;
|
return task;
|
||||||
//LOG("%s\n", "EXIT Streaming..");
|
//LOG("%s\n", "EXIT Streaming..");
|
||||||
|
Loading…
Reference in New Issue
Block a user