summaryrefslogtreecommitdiffstats
path: root/lib/peer.tcl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clear mailbox of unmatched processesNaveen Michaud-Agrawal2023-11-231-0/+4
|
* main,display: Version the Folk heap; evict stale/unused images.Omar Rizwan2023-09-301-25/+4
| | | | | This at least keeps camera slices from crashing the system. TODO: Don't draw stale images.
* Some peering cleanup (receive before Step); build in FPS countingOmar Rizwan2023-09-061-6/+3
|
* Precompile peering logicOmar Rizwan2023-09-041-0/+35
|
* WIP: Rewrite peering to use shm instead of websocketsOmar Rizwan2023-08-151-53/+12
| | | | Huge performance increases, but crashy.
* peer: Cleanup printsOmar Rizwan2023-07-211-5/+1
|
* WIP: process/peer reworkingOmar Rizwan2023-07-211-5/+21
| | | | | | | | | 1. Use a permanent blacklist so processes from unmatched matches can't leak statements if they connect after the destructor is gone 2. Have subprocesses die on disconnect from the main process TODO: need to handle races between multiple camera processes.
* Remove nonblocking, it breaks stuffOmar Rizwan2023-07-101-2/+0
|
* Make socket sends nonblockingOmar Rizwan2023-07-101-0/+3
|
* Properly zero out statements on disconnectOmar Rizwan2023-07-031-4/+5
|
* WIP: Start on new Commit scheme & syncing schemeOmar Rizwan2023-07-031-7/+2
| | | | | | Elids superfluous commits. Doesn't work yet. Also now Step after idle, so you don't Step in an event handler ever; Steps should coalesce a lot better now
* Properly dispose invalidated statements. Live edit works?Omar Rizwan2023-06-291-4/+6
|
* Actually fix root pairing from laptopOmar Rizwan2023-06-291-16/+17
|
* Retract statements on process disconnect. Fixes ghost?Omar Rizwan2023-06-291-21/+23
|
* Fix bidirectional peeringOmar Rizwan2023-06-191-2/+3
|
* Introduce fork-zygote process system.Omar Rizwan2023-06-181-5/+10
| | | | | | | | | | | | | | Also refactors/separates ::nodename to be ::thisNode (this computer) and ::thisProcess (this OS process). All tests should pass. Zygote-based processes are much faster to start up since they don't need to recompile C code or reload Folk. They still need to connect to Folk via WebSocket for now, and the automatic management we'd want (bidirectional, based on both match lifetime and process lifetime) isn't working yet. Some of the node vs. process distinction in naming still needs to be cleaned up, too, I think.
* Fix(?) bidirectional peeringOmar Rizwan2023-06-151-4/+6
|
* Merge branch 'main' into osnr/camera-pipelineOmar Rizwan2023-06-151-5/+33
|\
| * Use diffs to make peering more efficient. Narrow change detectOmar Rizwan2023-06-151-5/+33
| |
* | Implement bidirectional peering & receive statementsOmar Rizwan2023-05-251-1/+12
|/
* Basic process statement sharing test passes.Omar Rizwan2023-02-141-0/+1
|
* More cleanup/refactoring of peering.Omar Rizwan2023-02-141-5/+5
| | | | Start trying to test IPC statements.
* Refactor peering. Refactor process.Omar Rizwan2023-02-141-0/+35