Add a comment about the pipe read timeout on Windows.

svn path=/trunk/; revision=34947
This commit is contained in:
Gerald Combs 2010-11-18 17:29:02 +00:00
parent a6f7c3a8bd
commit 155e17c603

View File

@ -299,6 +299,10 @@ static gboolean need_timeout_workaround;
* in OS X 10.6, 10.6.1, 10.6.3, and 10.6.4, so we always use a timeout
* of 250ms, i.e. the same value as CAP_READ_TIMEOUT when not on one
* of the offending versions of Snow Leopard.
*
* On Windows this value is converted to milliseconds and passed to
* WaitForSingleObject. If it's less than 1000 WaitForSingleObject
* will return immediately.
*/
#ifndef USE_THREADS
#define PIPE_READ_TIMEOUT 250000