summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack.cpp
diff options
context:
space:
mode:
authorSpencer Low <CompareAndSwap@gmail.com>2015-11-07 17:34:39 -0800
committerSpencer Low <CompareAndSwap@gmail.com>2016-01-28 23:01:56 -0800
commit2e02dc630f6449f2a79d9130a6346de7761e2be2 (patch)
tree2bc990c47ae28a350ead2e38cf71701c63acf1eb /libutils/ProcessCallStack.cpp
parent53529ecacdffbbffb5c9fbc4ab38103703dde32e (diff)
adb: SIGWINCH support for Windows
- Introduces unix_read_interruptible() which is like unix_read() except that it can return EINTR. - The big idea is that the Windows ReadConsoleInput() API will return an event on window resize and then we return EINTR from unix_read_interruptible() just like Unix. - Only handles horizontal resize since Windows doesn't seem to give an event for vertical resize when no special screen buffer is used. This should be sufficient for the primary use case of adb on Windows (people are not running vi in the first place). Change-Id: Id8d1710b559834c8098f2d7fbecedf2d0ade4b88 Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions