diff options
Diffstat (limited to 'NOTES.txt')
-rw-r--r-- | NOTES.txt | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3,13 +3,13 @@ scratchpad for the development of iemnet speed & syslocks ================ -one bottleneck right now is the synchronisation with Pd's +one bottleneck right now is the synchronisation with Pd's main thread to register a clock callback. doing a sys_lock() whenever a package arrives will slow down things immensely. alternatives: no sys_lock(): will eventually crash Pd (no option) - use sys_trylock(): this might eventually fail to notify Pd of newly arrived + use sys_trylock(): this might eventually fail to notify Pd of newly arrived packets (bad for throughput) external polling: no syslock needed at all, but more complicated keep track of clock_callback: "notified" flag tells us, whether we have already @@ -23,4 +23,4 @@ tests for tcpclient/server: server disconnects -> client should get notified client crashes -> server should disconnect server crashes -> client should disconnect - + |