Commit Graph

897 Commits

Author SHA1 Message Date
hayodea 7eda755c15 Add LoadableLibraryManager and refactor StimBuffApiManager to use it.
Centralize dlopen/search in LoadableLibraryManager so typed library managers
can share one loaded-shlib registry without duplicating load/unload logic.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-10 21:14:55 -04:00
hayodea 10234bc422 Add comparator API descriptor and libcomparatorCore scaffold.
Introduce ExportedComparatorTypeDesc/ComparatorLibDesc with inline
sanity checks, and add a core comparator shlib exporting three stub types.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-10 21:13:19 -04:00
hayodea f118947b5e Extract comparator core types into include/user/comparator.h.
Move Comparator and ComparatorExpression out of cologex.h so comparator
types can be shared by loadable comparator libraries without pulling in
the full cologex surface.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-10 21:12:54 -04:00
hayodea cda9d432f4 Spinscale: Upgrade version 2026-06-10 07:03:15 -04:00
hayodea f9c64cf363 livoxProto1: Convert heartbeat sender into daemon coro 2026-06-10 07:02:07 -04:00
hayodea facb665217 BroadcastListener: Port to use nurseries and CDaemon pattern 2026-06-10 05:41:39 -04:00
hayodea 22a4cf283e These should always run on caller's thread. 2026-06-10 04:13:25 -04:00
hayodea 2602094139 StimProd: disable debug msg 2026-06-10 04:12:32 -04:00
hayodea a31a21be65 IoUringAssmEngn: fix Io_uring CQE cancel path 2026-06-09 20:40:39 -04:00
hayodea 4a4c76b5ec Production: log durations and results for debugging 2026-06-09 19:53:48 -04:00
hayodea ad88a5e1c8 CMake: Fix unnecessary build steps 2026-06-09 19:51:51 -04:00
hayodea 87a8de9a2b StimProd,DevReattacher: use CDaemon nonviral nursery coro
We ported these two daemons over to the new nursery mechanism and
they work nicely.
2026-06-09 19:47:44 -04:00
hayodea 165c846700 Spinscale: upgrade docs 2026-06-09 16:49:50 -04:00
hayodea 91fc655b25 Nursery: Initial integration
StimulusProducer: syncAwaitAllSettlements should pump caller io_context
2026-06-09 16:03:25 -04:00
hayodea 5b81ea893c Tests: Add sscl Nursery tests.
We'll evetually move these into sscl.
2026-06-09 05:50:28 -04:00
hayodea b0d67596d0 Libspinscale: Add a nursery 2026-06-09 05:48:08 -04:00
hayodea b2644f17c6 Exceptions: All of smocore likely now uses exceptions 2026-06-07 19:37:50 -04:00
hayodea 241e8a6798 Spinscale: now we can acquire exc_ptr from Group aggregate exceptions 2026-06-07 19:34:17 -04:00
hayodea f97641f8b5 Exceptions: Straight line convention refactor 2026-06-06 19:24:19 -04:00
hayodea 86c036a505 Docs: Update notes on stencils 2026-06-06 19:21:28 -04:00
hayodea 986e1833d0 Docs: add these prompts, I guess 2026-06-06 19:20:43 -04:00
hayodea d4905f53df Docs: Add initial straight-line coding guidelines 2026-06-06 19:18:30 -04:00
hayodea 2c1c994896 Don't auto-throw before callerLambda anymore 2026-06-06 13:04:32 -04:00
hayodea d1c74a027c Use DynamicViralPostingInvoker in at/detachStimBuffDeviceCReq 2026-05-31 07:13:53 -04:00
hayodea c2eea37a7b PostingPromise: reorder post-to target to be 1st arg 2026-05-30 21:46:19 -04:00
hayodea ac39a8b876 Spinscale: add dynamic coro post-to targeting; test on dev reattacher 2026-05-30 20:46:41 -04:00
hayodea 35eb466a60 OClCollMeshEngn,PcloudStimProd: port to sscl::co coros
We've now ported the OpenClCollMeshEngn and PcloudStimProd::produceFrameReq
portions of the Livox pipeline to coros.
2026-05-30 19:32:19 -04:00
hayodea 1cf1be4194 Parameterize XORG_DISPLAY for win0 2026-05-30 12:57:10 -04:00
hayodea acf62e61da Remove boostAsioLinkageFix 2026-05-30 12:12:59 -04:00
hayodea 4266af545a Boost.ASIO: upgrade io_service=>io_context, finally 2026-05-30 12:01:00 -04:00
hayodea f100764bd8 Async: Drop-in SyncCancelerForAsyncWork without execUncancelableSegment*
We're doing this to prep for the coro port
2026-05-30 10:52:15 -04:00
hayodea c7dee57072 Bmach: rseqsliceprobe: improve output 2026-05-30 10:42:47 -04:00
hayodea 2967a4d6ba Require boost between 1.69 and 1.89
Why? Because from boost 1.9 onwards, shlibs are simply not
available anymore.
2026-05-30 10:40:52 -04:00
hayodea 322a8137b2 Revert "LivoxGen1: Use syncCancelerForAsyncWork in producer pipeline"
This reverts commit d788810a05.

We're doing this because it's not necessary. We will be porting to
coros soon and we can just use brace-scopes.
2026-05-30 07:18:29 -04:00
hayodea d788810a05 LivoxGen1: Use syncCancelerForAsyncWork in producer pipeline 2026-05-29 14:10:45 -04:00
hayodea 5a9fe12057 Libspinscale: upgrade to SyncCancelerForAsyncWork 2026-05-29 12:09:47 -04:00
hayodea 25efccf6c5 LivoxProto1: port to sscl::co framework
Code now actually looks a lot cleaner, tbh.
2026-05-28 20:13:12 -04:00
hayodea bbc16dc4c4 Add coding style for LLMs. 2026-05-28 16:33:08 -04:00
hayodea 958c57b3ff livoxGen1: Disable pcloudData IFF stimbuff is last being removed 2026-05-28 15:55:23 -04:00
hayodea fc5ebb72b9 LivoxGen1: Port to coros
No longer uses CPS. We also found and documented a potential bug in
the way we deal with disablePcloudData during detachDeviceReq.
2026-05-28 15:17:50 -04:00
hayodea 7643cf7fed StimBuffApiMgr: set isBeingDestroyed just before calling finalize 2026-05-25 10:40:29 -04:00
hayodea 4186ff141e StimBuffApiMgr: initializeStimBuffApiLib default arg acquires lock 2026-05-25 09:24:49 -04:00
hayodea 3e19d39853 SenseApiDesc,xcbWindow: port to sscl coro framework
SenseApiDesc's exported API now uses coro pointers instead of
CPS fn pointers.
* Do not build this version of SMO with the Livox drivers enabled,
  because SMO has been changed at the smocore level to use coros
  when calling into stimbuffAPI libs. But the Livox drivers
  haven't yet been ported from CPS to coros.

xcbWindow has been ported to expose coros to SMO in its
senseApiDesc exported iface.
2026-05-25 08:58:36 -04:00
hayodea b5fa20a2b8 Mrntt:lifetime: if no devs attach, fail initializeCReq 2026-05-25 08:50:25 -04:00
hayodea baa9b7b499 Fix rseq ext detection on x86 and RPI 2026-05-24 23:26:18 -04:00
latentprion 9feadd0820 RSeq: use portable sys/prctl and not asm/prctl 2026-05-24 23:26:18 -04:00
hayodea f9ac41c56e Update libspinscale, add debug printing for pcloudStimProd 2026-05-24 23:26:18 -04:00
hayodea cde2737876 Libspinscale: Initial top-level SMO port to coroutine framework
We haven't ported everything. Just the top-level methods. We'll
dig in to the leaf stuff later. Surprisingly, this all went without
any real difficulties.

Runs like a charm on first try.
2026-05-24 23:26:18 -04:00
hayodea c539e6e924 Add awaiters for DeviceManager continuations 2026-05-24 23:26:18 -04:00
hayodea 72134aeac5 Buildmach: Add Linux rseq support detection utility 2026-05-06 02:47:15 -04:00