You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#defineWAIT_TIMEOUT 258
//Wait until the user task has terminatedwhile (1)
{
TRACE_INFO ("user_task_deleted: %d\n", user_task_deleted);
if (WaitForSingleObject(taskId, 10000) !=WAIT_TIMEOUT)
break;
}
The while (1) loop never quits and the trace never shows a user_task_deleted: 1.
The only fix for me was to replace osDeleteTask(OS_SELF_TASK_ID); with ExitProcess(0);.
Someone please explain this.
PS. I built everything with bare minimum of features from git master some days ago (with cl and clang-cl) and
the latest CycloneTCP_SSL_*.zip from https://www.oryx-embedded.com/download/
The text was updated successfully, but these errors were encountered:
Building and running

http_server.exe
on Windows with good-ol'e WinPcap works great:But pressing
q
to quit the program does not work. Adding some trace-code,I see that
WaitforSingleObject()
inmain()
never returns!I modified
userTask()
:and
main()
:The
while (1)
loop never quits and the trace never shows auser_task_deleted: 1
.The only fix for me was to replace
osDeleteTask(OS_SELF_TASK_ID);
withExitProcess(0);
.Someone please explain this.
PS. I built everything with bare minimum of features from
git master
some days ago (withcl
andclang-cl
) andthe latest
CycloneTCP_SSL_*.zip
fromhttps://www.oryx-embedded.com/download/
The text was updated successfully, but these errors were encountered: