helper: improve windows gdb pipe performance 50/1050/2
authorSpencer Oliver <spen@spen-soft.co.uk>
Wed, 12 Dec 2012 15:42:01 +0000 (15:42 +0000)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 24 Dec 2012 11:01:03 +0000 (11:01 +0000)
commit95025349faabec99d6c6758351a5543caaa54c18
treed7753f49aa6efe38a8378a12cd2b1f099966c7a1
parent0466ee7e4a54d1415dea9a8fbe9b361b04895db5
helper: improve windows gdb pipe performance

Reducing the select and MsgWaitForMultipleObjects timeouts to 1ms makes
a 2-300+% increase in the step time of gdb when using pipes under windows OS.

Change-Id: Id7e52cfb2b206347a9caea61672885a3e2b186de
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1050
Tested-by: jenkins
src/helper/replacements.c