This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
+ struct timeval timeout;Doing a select on nothing strikes me as wrong. How is this code detecting that something is ``ready''?
+ timeout.tv_sec = 0;
+ timeout.tv_usec = 10000;
+
+ select(0,0,0,0,&timeout);
+
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |