mirror of
https://github.com/ksherlock/TwoTerm.git
synced 2026-04-25 22:18:07 +00:00
move all the child/fd/kevent monitoring to a dedicated thread / class.
This commit is contained in:
@@ -25,10 +25,6 @@
|
||||
|
||||
NSObject <Emulator> *_emulator;
|
||||
|
||||
NSThread * _thread;
|
||||
int _fd;
|
||||
std::atomic<pid_t> _pid;
|
||||
|
||||
}
|
||||
|
||||
@property (nonatomic, retain) NSDictionary *parameters;
|
||||
@@ -39,5 +35,7 @@
|
||||
@property (nonatomic, retain) NSObject<Emulator> *emulator;
|
||||
|
||||
-(void)initPTY;
|
||||
-(void)childFinished: (int)status;
|
||||
-(void)processData: (const void *)buffer size: (size_t)size;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user