Add 0 as valid g_obj_wait timeout instead of having it be equivalent to -1.
This commit is contained in:
committed by
Christopher Pitstick
parent
63e963daf6
commit
584a894490
+4
-1
@@ -203,10 +203,13 @@ int g_delete_wait_obj(tintptr obj);
|
||||
* @param rcount Number of elements in read_objs
|
||||
* @param write_objs Array of write objects
|
||||
* @param rcount Number of elements in write_objs
|
||||
* @param mstimeout Timeout in milliseconds. <= 0 means an infinite timeout.
|
||||
* @param mstimeout Timeout in milliseconds. < 0 means an infinite timeout.
|
||||
*
|
||||
* @return 0 for success. The objects will need to be polled to
|
||||
* find out what is readable or writeable.
|
||||
*
|
||||
* An mstimeout of zero will return immediately, although
|
||||
* error conditions may be checked for.
|
||||
*/
|
||||
int g_obj_wait(tintptr *read_objs, int rcount, tintptr *write_objs,
|
||||
int wcount, int mstimeout);
|
||||
|
||||
Reference in New Issue
Block a user