myxce/src/lib
Rongsong Shen 4c591a11d3 feat: implement xzarray COW freeze/thaw with pre-grown shadow array (P0-2)
- Add in_cow flag + shadow/shadow_caps fields to xzarray_private_t
- Convert xzarray_item_t.inuse from bitfield to _Atomic _Bool; update
  all read/write sites to use atomic_load/store_explicit
- Implement xzarray_freeze(): O(1) ptr swap, pre-grows active array
  1.5x+16 to avoid realloc during COW, sets pos past shadow range
- Implement xzarray_thaw(): merges shadow into active (shadow wins only
  for slots not updated during COW), supports optional retain_fn GC
- xzarray_get_vec(): falls back to shadow during COW so reads remain
  valid between freeze and thaw
- Add COW guard assertion in xzarray_clear()
- Wire vfreeze/vthaw into xzarray_type interface
- Tests: 5 new COW tests all green; 4 pre-existing failures unchanged
2026-05-07 09:46:28 +00:00
..
testsuite feat: implement xzarray COW freeze/thaw with pre-grown shadow array (P0-2) 2026-05-07 09:46:28 +00:00
bitset.c - introduce bitset 2026-02-13 11:01:33 +08:00
CLAUDE.md Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00
client.c feat: P0-2a C-side plumbing for host control 2026-04-17 07:46:41 +00:00
configobj.c save works 2026-03-04 18:18:53 +08:00
dataq.c reformat code and job array 2025-11-07 16:14:27 +08:00
delay.c fix: handle precision_ms >= 1000 in delay_worker nanosleep (tv_nsec overflow) 2026-05-07 09:12:10 +00:00
group.c save works 2026-03-04 18:18:53 +08:00
helper.c fix front end issues 2026-05-01 21:22:45 +08:00
hook.c reformat code and job array 2025-11-07 16:14:27 +08:00
htab.c docs: mark Phase 6 complete in phase6-scheduler-integration-plan 2026-04-30 07:17:32 +00:00
idgen.c jobid generate 2025-11-07 18:17:34 +08:00
jobj.c save works 2026-03-06 18:20:30 +08:00
kv.c use librtti for worker/queue/resource 2026-02-25 16:56:50 +08:00
kvmgr.c feat: add vfreeze/vthaw slots to intf_varray_t; designated initializers (P0-0b) 2026-05-07 08:54:18 +00:00
meson.build feat: add vfreeze/vthaw slots to intf_varray_t; designated initializers (P0-0b) 2026-05-07 08:54:18 +00:00
misc.c 1st workable scheduler with resource from controller 2025-12-31 15:50:52 +08:00
mylock.c - use librtti 2026-02-05 17:21:27 +08:00
netio.c merge job rusage and pending reason support 2025-12-16 14:36:28 +08:00
ordq.c pass pend reason back to controller 2025-12-23 15:29:26 +08:00
preason.c support limit 2026-01-12 15:27:54 +08:00
qobj.c save works 2026-03-05 16:03:37 +08:00
request.c feat: P0-2a C-side plumbing for host control 2026-04-17 07:46:41 +00:00
resobj.c minor improve 2026-04-14 12:52:40 +08:00
resreq.c fix front end issues 2026-05-01 21:22:45 +08:00
rusage.peg fix typo of perflag && reformat .peg 2026-02-09 10:58:30 +08:00
section.peg docs: mark Phase 6 complete in phase6-scheduler-integration-plan 2026-04-30 07:17:32 +00:00
threshold.c reformat code and job array 2025-11-07 16:14:27 +08:00
utils.c - introduce bitset 2026-02-13 11:01:33 +08:00
vtaskmgr.c security communication with openssl and simplify netio 2025-11-18 11:26:36 +08:00
window.c reformat code and job array 2025-11-07 16:14:27 +08:00
wobj.c save works 2026-03-05 16:03:37 +08:00
wrap.c reformat code and job array 2025-11-07 16:14:27 +08:00
xce_resreq.peg docs: mark Phase 6 complete in phase6-scheduler-integration-plan 2026-04-30 07:17:32 +00:00
xce_select.c fix select eval ctx share 2026-05-07 04:37:18 +00:00
xce_select.peg docs: mark Phase 6 complete in phase6-scheduler-integration-plan 2026-04-30 07:17:32 +00:00
xcealloc.c 1st workable scheduler with resource from controller 2025-12-31 15:50:52 +08:00
xceapi.c feat: P0-2a C-side plumbing for host control 2026-04-17 07:46:41 +00:00
xcectx.c support passing args to request handle for elimination of global var 2025-12-11 17:07:51 +08:00
xcelimit.c minor improve 2026-04-14 12:52:40 +08:00
xlist.c support limit 2026-01-12 15:27:54 +08:00
xstring.c docs: mark Phase 6 complete in phase6-scheduler-integration-plan 2026-04-30 07:17:32 +00:00
xvec.c using xvec related api in scheduler 2026-01-16 18:21:37 +08:00
zarray.c feat: implement xzarray COW freeze/thaw with pre-grown shadow array (P0-2) 2026-05-07 09:46:28 +00:00