Commit Graph

  • 27ee227f8e Thread cancellation main flysand7 2023-09-17 17:15:58 +1100
  • 8c5c5adeca Fix %I64d not loading correct int sizes flysand7 2023-09-12 21:07:02 +1100
  • 5453813e39 Add write lock to printf flysand7 2023-09-12 04:40:29 +1100
  • 4917b05771 basic printf flysand7 2023-09-12 04:33:42 +1100
  • 4c0041414d update readme flysand7 2023-09-12 03:03:57 +1100
  • 2b03bc5645 add str/memcpy functions flysand7 2023-09-12 03:03:06 +1100
  • a0a32bdb7c add sequential consistency test flysand7 2023-09-12 02:38:24 +1100
  • 3b69b1ca26 make atomics and threads include cia/def and rt when they depend on it flysand7 2023-09-12 02:38:12 +1100
  • a81d061652 Fix stack alignment on thread entry flysand7 2023-09-12 02:37:54 +1100
  • bbdcbb3e7c Implement thrd_yield on linux flysand7 2023-09-11 22:44:06 +1100
  • 5c6b55e4e5 update readme flysand7 2023-09-10 21:25:10 +1100
  • 362460ac9c Fix memory ordering on mutex acquire flysand7 2023-09-10 18:12:17 +1100
  • dc2ec9eb13 explicit atomics flysand7 2023-09-10 17:53:22 +1100
  • 7c65447a9a Move tcb to include/cia-ld. Fix deadlock due to no spurious wakeup flysand7 2023-09-10 14:38:27 +1100
  • 8c563ec1b2 make fwrite threadsafe flysand7 2023-09-10 11:30:56 +1100
  • afa8017b5b Remove old build script flysand7 2023-09-09 12:36:10 +1100
  • c1e3d72d2f ???????? flysand7 2023-09-07 08:22:12 +1100
  • 1dc7b41cc1 ?????? flysand7 2023-09-07 08:20:00 +1100
  • f54d5b10c5 ????? flysand7 2023-09-07 08:12:19 +1100
  • dbc536f828 ???? flysand7 2023-09-07 08:11:05 +1100
  • 5bd2860eaf ??? flysand7 2023-09-07 08:08:57 +1100
  • ce6ffd2920 ?? flysand7 2023-09-07 08:06:56 +1100
  • ef12aa6f44 ? flysand7 2023-09-07 07:57:24 +1100
  • 3df527c375 change shell to cmd for windows CI flysand7 2023-09-07 07:54:36 +1100
  • 35f10c78b7 fix joins & detaches flysand7 2023-09-06 20:37:30 +1100
  • 00d284215c Make thread handle a pointer to TCB on linux flysand7 2023-09-06 07:55:45 +1100
  • 3d761f344f accept the patch from this random based guy on stackoverflow flysand7 2023-09-04 18:52:58 +1100
  • 9fa3a65736 let the child threads get a dream stack too! flysand7 2023-09-03 20:32:51 +1100
  • 32f831bda3 ? flysand7 2023-09-02 20:25:31 +1100
  • bbea5423f6 change CI scripts in accordance with build script flysand7 2023-09-02 11:47:40 +1100
  • e1b7a84ba6 make thread locals work flysand7 2023-09-02 11:45:00 +1100
  • d8dc35c083 switch stacks flysand7 2023-08-30 19:52:29 +1100
  • 653342a30a loader retrieve stack bounds from /proc/self/maps flysand7 2023-08-29 18:57:34 +1100
  • 7929779df6 Fix mutex flysand7 2023-08-28 01:36:46 +1100
  • 35a760e54e broken mutex flysand7 2023-08-27 13:51:35 +1100
  • fa1f9ec0e6 stdatomic.h flysand7 2023-08-26 22:35:18 +1100
  • 8f739d3a10 move ciabatta headers to <cia/*> flysand7 2023-08-26 18:39:40 +1100
  • deb67217b5 expand threaded example flysand7 2023-08-26 18:28:59 +1100
  • 8b7850f03e make release build work with dynamic linker flysand7 2023-08-26 17:11:12 +1100
  • 8ceb3e2e49 add more options flysand7 2023-08-26 17:08:46 +1100
  • 45ae248539 readd --test option to build script flysand7 2023-08-26 16:52:59 +1100
  • 967580d298 remove commands.sh temporary file flysand7 2023-08-26 14:01:04 +1100
  • 71aa64a7d4 threads work on linux! flysand7 2023-08-26 13:53:58 +1100
  • be17cebb56 why it crash normally but fine in gdb and valgrind AAAAAAAA flysand7 2023-08-26 10:36:26 +1100
  • 1f448dab10 pull out arch-specific stuff into its own folder (windows broken) flysand7 2023-08-25 20:18:28 +1100
  • 82788654d8 Linux threads (not working) flysand7 2023-08-15 19:54:02 +1100
  • 1beb40051e fix potentially unitialized value flysand7 2023-08-15 15:50:52 +1100
  • 50fe56949f Fix SSE by aligning the stack flysand7 2023-08-05 22:20:20 +1100
  • 35717f62a0 make dynamic linker perform relocs and jump into the main code flysand7 2023-08-05 21:33:19 +1100
  • 48a3a48ce8 Add memory fences around self-relocating code flysand7 2023-08-04 06:24:19 +1100
  • 246e9f2071 Fix optimized builds emitting SSE code flysand7 2023-08-04 06:20:24 +1100
  • 845d08ee3a Hide dbg_printfs behind a define flysand7 2023-08-04 05:46:05 +1100
  • a812a18033 Custom linux headers flysand7 2023-08-04 05:36:03 +1100
  • 14c36e203e pass dyn instead of dynv to loader flysand7 2023-08-04 04:17:41 +1100
  • 5b2d0c0c9d self-relocation in dynamic loader flysand7 2023-08-04 00:16:15 +1100
  • bf0d06eeb4 stddef.h flysand7 2023-08-02 20:05:26 +1100
  • d86ac28629 oops flysand7 2023-08-02 14:43:20 +1100
  • c293fc7813 Start on dynamic loader flysand7 2023-08-02 14:43:07 +1100
  • 8751a697ee Add valgrind output to .gitignore flysand7 2023-08-02 10:44:08 +1100
  • 57a2e138cd Clean up build script flysand7 2023-08-02 10:34:37 +1100
  • 443675feec Update TODO flysand7 2023-08-01 13:11:56 +1100
  • e041fdd474 Add export section to library.json flysand7 2023-08-01 13:05:10 +1100
  • e41df0dd4d Use linux includes whenever possible flysand7 2023-08-01 12:45:45 +1100
  • 3a965154ed Update readme instruction flysand7 2023-08-01 12:23:25 +1100
  • 8efd9b7c7a Add data model macro setting flysand7 2023-08-01 12:20:43 +1100
  • 2166660b93 Underscores on allocators flysand7 2023-08-01 11:30:32 +1100
  • fd8f580b63 Rename DEBUG to _DEBUG flysand7 2023-08-01 11:28:18 +1100
  • 5a9bea11ad Fix failing link on empty file flysand7 2023-08-01 11:26:13 +1100
  • b2ae7be654 Fix forgot to pass MAP_PRIVATE flag to mmap flysand7 2023-08-01 02:29:44 +1100
  • 9442c41168 Fix missing whitespace in buildscript flysand7 2023-08-01 02:05:05 +1100
  • 42dd38804a Terminal colors in build script (yay) flysand7 2023-07-31 09:43:01 +1100
  • 721aa8c2de Add status table flysand7 2023-07-31 09:01:03 +1100
  • 2954ad3b63 Get windows build working flysand7 2023-07-31 07:55:59 +1100
  • 8c0590e517 [bugfix] Make one freelist per pool, instead of one per buffer flysand7 2023-07-31 04:47:18 +1100
  • 344d9f0398 Fix files not being removed from the pool upon closing flysand7 2023-07-31 04:19:05 +1100
  • d9f530fe58 Add memory pool to cia-mem, use it for FILE flysand7 2023-07-31 04:17:57 +1100
  • 80fde89a6f add todo list flysand7 2023-07-30 21:12:52 +1100
  • 9f44678472 Underscore syscall stuff flysand7 2023-07-30 19:47:59 +1100
  • 9ac97f1e9d Memory manager on linux + remove C23 attributes for now flysand7 2023-07-30 18:45:14 +1100
  • e2158eed8b Update readme flysand7 2023-07-29 00:50:04 +1100
  • b4d8fe5adc Separate out stdint and stdbool flysand7 2023-07-29 00:15:38 +1100
  • 84ab80b663 Maybe finally fix Github CI issues flysand7 2023-07-28 23:16:35 +1100
  • 50cb96f875 ? flysand7 2023-07-28 23:13:17 +1100
  • 55b53bf554 Github CI fix llvm version flysand7 2023-07-28 23:10:13 +1100
  • 60db0beac4 ? flysand7 2023-07-28 23:08:28 +1100
  • 544948fbf5 Github CI downgrade ubuntu version flysand7 2023-07-28 23:03:43 +1100
  • f08633efff Github CI don't build nasm flysand7 2023-07-28 23:00:43 +1100
  • 76ced48fed Github CI cached llvm and clang flysand7 2023-07-28 22:57:42 +1100
  • bd3622dddf Fix compile error flysand7 2023-07-28 22:52:54 +1100
  • fff9716dc8 Add windows build to CI flysand7 2023-07-28 22:47:06 +1100
  • a71e49ca22 Fix linux build failing flysand7 2023-07-28 22:41:53 +1100
  • 8a5804b51d Fix module deps checks, make allocators use one proc flysand7 2023-07-28 22:29:12 +1100
  • 76904bd19b Handle inter-module dependencies flysand7 2023-07-28 21:52:12 +1100
  • 3abf5e3f7f Memory API flysand7 2023-07-28 21:49:56 +1100
  • 9119be8e24 Fix formatting on ciabatta.c flysand7 2023-07-28 20:55:41 +1100
  • e65506babb Remove root object parens from jsons flysand7 2023-07-28 20:53:20 +1100
  • 8d14b1749a Make cuik compile flysand7 2023-07-28 20:41:37 +1100
  • bdce40092d try cuik? flysand7 2023-07-28 20:16:09 +1100
  • 1f811d7646 Make it compile on windows flysand7 2023-07-28 19:53:06 +1100
  • 5e177fae50 Quick and dirty file api flysand7 2023-07-28 00:49:53 +1100