Daniel Kochmański
bf26866abc
modules: [2/n] introduce ecl_module_unixint
2026-04-19 19:54:36 +02:00
Daniel Kochmański
2450a1483b
modules: [1/n] introduce ecl_module_gc
...
We also remove conditionalization for garbage collector inclusion in autotools.
When we propose an alternative gc, then we may decide to put them back, or to
add necessary ifdef statements directly in files.
Moreover untangle c-stack from the gc code and assign the stack base with a
rough guess only when it is not initialized yet (GC will always fill it).
Finally remove a kludge from ecl_adopt_cpu and disable colleciton until the cpu
is fully initialized.
2026-04-19 19:54:36 +02:00
Daniel Kochmański
54cf51d27c
modules: [0/n] introduce a new structure ecl_module in the system
...
This will allow us to decouple forward system initialization from the early
process code.
2026-04-19 19:54:36 +02:00
Daniel Kochmański
f60b328944
process: move ecl_clear_bignum_registers to _dealloc_env
...
This resolves a fixme.
2026-04-19 19:54:36 +02:00
Daniel Kochmański
21d1d7d71b
process: use GC_thread_is_registered() instead of the_env->cleanup
...
This allows us to remove unnecessary bookkeeping.
2026-04-19 19:54:36 +02:00
Daniel Kochmański
531a8ecd84
nucleus: [2/n] move processing unit managament to nucleus
2026-04-19 19:54:36 +02:00
Daniel Kochmański
507018bd4a
nucleus: [1/n] move processing unit managament to nucleus
2026-04-19 19:54:36 +02:00
Daniel Kochmański
16a4d15744
core: split cl_core_struct in two structure cl_core and ecl_core
...
ecl_core contains early global environment that is meant to be shared by all
runtimes, while cl_core contains an environment relevant to common lisp.
2026-04-19 19:53:06 +02:00
Daniel Kochmański
62c8f3f714
threads: get rid of an annoying warning stemming from xopen
...
We've defined _XOPEN_SOURCE 600 but glibc defines it as 700 or more.
2025-05-13 14:18:10 +02:00
Daniel Kochmański
0f4e9b1e17
core: factor out process managament from thread managament
...
This is a preliminary step towards coroutines and for switching global env in
single-threaded builds.
2025-03-31 20:44:46 +02:00