From 63b5bc2fef8801f01fd14786f7893d86fa5e92ee Mon Sep 17 00:00:00 2001 From: Martin Hunt Date: Tue, 4 Dec 2001 21:44:37 +0000 Subject: [PATCH] Add note to serial_open. --- gdb/serial.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdb/serial.h b/gdb/serial.h index a0dbe723acb..97d68f32a04 100644 --- a/gdb/serial.h +++ b/gdb/serial.h @@ -32,7 +32,10 @@ typedef void *serial_ttystate; struct serial; /* Try to open NAME. Returns a new `struct serial *' on success, NULL - on failure. */ + on failure. Note that some open calls can block and, if possible, + should be written to be non-blocking, with calls to ui_look_hook + so they can be cancelled. An async interface for open could be + added to GDB if necessary. */ extern struct serial *serial_open (const char *name); -- 2.30.2