From f6e2bfe69c014b9b99423320ba787a3df938754b Mon Sep 17 00:00:00 2001 From: Nicolas 'Pixel' Noble Date: Sun, 20 Jan 2013 20:13:29 -0800 Subject: Input's open, read and close are now operations fully interruptible. --- includes/Input.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'includes') diff --git a/includes/Input.h b/includes/Input.h index 51b17c7..af17107 100644 --- a/includes/Input.h +++ b/includes/Input.h @@ -15,6 +15,7 @@ class Input : public SeekableHandle { virtual const char * getName(); virtual off_t getSize(); virtual time_t getMTime(); + bool isPendingComplete(); const char * getFName() { return m_fname.to_charp(); } private: int m_fd = -1; @@ -22,6 +23,7 @@ class Input : public SeekableHandle { String m_fname; off_t m_size = -1; time_t m_mtime = -1; + void * m_pendingOp = NULL; }; }; -- cgit v1.2.3