Commit graph

70 commits

Author SHA1 Message Date
denis
70d8be0741 wip: remove the commands that are called only on the client 2021-05-04 20:47:50 +05:30
denis
daddac65aa wip: here goes the os_thread and OsContext 2021-05-04 20:47:50 +05:30
Kunal Mohan
d8986351ed fix testing for pseudo client-server model 2021-05-04 20:47:50 +05:30
denis
627e6b3672 wip: working on osapi message variants 2021-05-04 20:47:50 +05:30
Kunal Mohan
ef1c902be6 Introduce DoneCLosingPane message to ensure atomicity in state change 2021-05-04 20:47:50 +05:30
Kunal Mohan
2111f95f33 remove command_is_executing from pty_thread 2021-05-04 20:47:49 +05:30
Kunal Mohan
5ece7f44cc Use IPC for Server to client as well
Add router thread
2021-05-04 20:47:49 +05:30
Kunal Mohan
77682d9ab5 Use ipmpsc crate for IPC 2021-05-04 20:47:49 +05:30
Kunal Mohan
1ee86f9a77 Introduce serlializable ClientInstruction and Rename ApiCommand 2021-05-04 20:47:49 +05:30
Kunal Mohan
c0e87df14c remove logs 2021-05-04 20:47:49 +05:30
Kunal Mohan
75b07cc6c8 Undo some changes 2021-05-04 20:47:49 +05:30
Kunal Mohan
aef52b0690 Use interprocess crate, BufReader and BufWriter 2021-05-04 20:47:49 +05:30
Kunal Mohan
2943dc7b3b Got things working! But we are loosing data in transmission :( PS: There are debug logs in there 2021-05-04 20:47:49 +05:30
Kunal Mohan
d1a17ef356 undo some changes 2021-05-04 20:47:49 +05:30
Kunal Mohan
6fc1a5bf92 another try 2021-05-04 20:47:49 +05:30
Kunal Mohan
7beb246250 try fixes 2021-05-04 20:47:48 +05:30
Kunal Mohan
685e2eef0c Introduce IpcSenderWithContext 2021-05-04 20:47:48 +05:30
Kunal Mohan
715e5f9785 remove debug logs 2021-05-04 20:47:48 +05:30
Kunal Mohan
588cdaa008 isolate pty thread 2021-05-04 20:47:48 +05:30
denis
b23ef332c7 wip: restructing in progress, to prep for server-client 2021-01-24 18:38:46 +02:00