Commit Graph

355 Commits

Author SHA1 Message Date
flysand7 dbc536f828 ???? 2023-09-07 08:11:05 +11:00
flysand7 5bd2860eaf ??? 2023-09-07 08:08:57 +11:00
flysand7 ce6ffd2920 ?? 2023-09-07 08:06:56 +11:00
flysand7 ef12aa6f44 ? 2023-09-07 07:57:24 +11:00
flysand7 3df527c375 change shell to cmd for windows CI 2023-09-07 07:54:36 +11:00
flysand7 35f10c78b7 fix joins & detaches 2023-09-06 20:37:30 +11:00
flysand7 00d284215c Make thread handle a pointer to TCB on linux 2023-09-06 07:55:45 +11:00
flysand7 3d761f344f accept the patch from this random based guy on stackoverflow 2023-09-04 18:52:58 +11:00
flysand7 9fa3a65736 let the child threads get a dream stack too! 2023-09-03 20:32:51 +11:00
flysand7 32f831bda3 ? 2023-09-02 20:25:31 +11:00
flysand7 bbea5423f6 change CI scripts in accordance with build script 2023-09-02 11:47:40 +11:00
flysand7 e1b7a84ba6 make thread locals work 2023-09-02 11:45:00 +11:00
flysand7 d8dc35c083 switch stacks 2023-08-30 19:52:29 +11:00
flysand7 653342a30a loader retrieve stack bounds from /proc/self/maps 2023-08-29 18:57:34 +11:00
flysand7 7929779df6 Fix mutex 2023-08-28 01:36:46 +11:00
flysand7 35a760e54e broken mutex 2023-08-27 13:51:35 +11:00
flysand7 fa1f9ec0e6 stdatomic.h 2023-08-26 22:35:18 +11:00
flysand7 8f739d3a10 move ciabatta headers to <cia/*> 2023-08-26 18:39:40 +11:00
flysand7 deb67217b5 expand threaded example 2023-08-26 18:28:59 +11:00
flysand7 8b7850f03e make release build work with dynamic linker 2023-08-26 17:11:12 +11:00
flysand7 8ceb3e2e49 add more options 2023-08-26 17:08:46 +11:00
flysand7 45ae248539 readd --test option to build script 2023-08-26 16:52:59 +11:00
flysand7 967580d298 remove commands.sh temporary file 2023-08-26 14:01:04 +11:00
flysand7 71aa64a7d4 threads work on linux! 2023-08-26 14:00:37 +11:00
flysand7 be17cebb56 why it crash normally but fine in gdb and valgrind AAAAAAAA 2023-08-26 10:36:26 +11:00
flysand7 1f448dab10 pull out arch-specific stuff into its own folder (windows broken) 2023-08-25 20:18:28 +11:00
flysand7 82788654d8 Linux threads (not working) 2023-08-15 19:54:02 +11:00
flysand7 1beb40051e fix potentially unitialized value 2023-08-15 15:50:52 +11:00
flysand7 50fe56949f Fix SSE by aligning the stack 2023-08-05 22:35:45 +11:00
flysand7 35717f62a0 make dynamic linker perform relocs and jump into the main code 2023-08-05 21:33:19 +11:00
flysand7 48a3a48ce8 Add memory fences around self-relocating code 2023-08-04 06:24:19 +11:00
flysand7 246e9f2071 Fix optimized builds emitting SSE code 2023-08-04 06:20:32 +11:00
flysand7 845d08ee3a Hide dbg_printfs behind a define 2023-08-04 05:46:05 +11:00
flysand7 a812a18033 Custom linux headers 2023-08-04 05:36:03 +11:00
flysand7 14c36e203e pass dyn instead of dynv to loader 2023-08-04 04:17:41 +11:00
flysand7 5b2d0c0c9d self-relocation in dynamic loader 2023-08-04 00:16:15 +11:00
flysand7 bf0d06eeb4 stddef.h 2023-08-02 20:07:54 +11:00
flysand7 d86ac28629 oops 2023-08-02 14:43:20 +11:00
flysand7 c293fc7813 Start on dynamic loader 2023-08-02 14:43:07 +11:00
flysand7 8751a697ee Add valgrind output to .gitignore 2023-08-02 10:44:08 +11:00
flysand7 57a2e138cd Clean up build script 2023-08-02 10:34:37 +11:00
flysand7 443675feec Update TODO 2023-08-01 13:11:56 +11:00
flysand7 e041fdd474 Add export section to library.json 2023-08-01 13:05:10 +11:00
flysand7 e41df0dd4d Use linux includes whenever possible 2023-08-01 12:45:45 +11:00
flysand7 3a965154ed Update readme instruction 2023-08-01 12:23:25 +11:00
flysand7 8efd9b7c7a Add data model macro setting 2023-08-01 12:20:43 +11:00
flysand7 2166660b93 Underscores on allocators 2023-08-01 11:30:32 +11:00
flysand7 fd8f580b63 Rename DEBUG to _DEBUG 2023-08-01 11:28:18 +11:00
flysand7 5a9bea11ad Fix failing link on empty file 2023-08-01 11:26:13 +11:00
flysand7 b2ae7be654 Fix forgot to pass MAP_PRIVATE flag to mmap 2023-08-01 02:29:44 +11:00