Skip to content
Snippets Groups Projects
Commit 03ff5fcd authored by deuce's avatar deuce
Browse files

More dealing with Linux breakage...

pthread + signals doesn't work correctly.
Loop on the select forever erm... forever.
ie: select() forever forever now.
parent 5a3d3931
No related branches found
No related tags found
No related merge requests found
......@@ -1713,7 +1713,8 @@ int main(int argc, char** argv)
}
if(!isatty(fileno(stdin))) /* redirected */
select(0,NULL,NULL,NULL,NULL); /* Sleep forever - Should this just exit the thread? */
while(1)
select(0,NULL,NULL,NULL,NULL); /* Sleep forever - Should this just exit the thread? */
else /* interactive */
#endif
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment