You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pythonFiles/PythonTools/ipythonServer.py
+53Lines changed: 53 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -119,6 +119,59 @@ def release(self):
119
119
self.lock.release()
120
120
121
121
122
+
"""
123
+
- Add a list with the command ids
124
+
- Create a common lock object to be shared between iPythonKernelResponseMonitor and iPythonSocketServer
125
+
- iPythonSocketServer will grab a lock and insert an item into the command ids and then send the code for execution
126
+
- iPythonKernelResponseMonitor will keep going in a nutsy loop and when it gets a message for execution it will take the oldest item from the loop (pop)
127
+
- and send a socket message providing the information (this way we can tie the code to be executed with the message ids)
128
+
- Not the best, but that's how it will have to be done
0 commit comments