Commit Graph
100 Commits
Author SHA1 Message Date
christoph 8b40cb1802 switch threadstate to esp int 2022-07-23 01:48:52 +02:00
christoph e143733b00 static logger 2022-07-23 00:20:44 +02:00
christoph bd95c02a08 use static logger 2022-07-22 23:32:46 +02:00
christoph ec09b0e6d2 make logger static and add name wrapper 2022-07-22 23:32:36 +02:00
christoph 60a01461b0 comments 2022-07-22 22:34:52 +02:00
christoph 9b6e84641c readme 2022-07-22 22:24:26 +02:00
christoph 1b7d8118fe comments/readme 2022-07-22 22:00:56 +02:00
christoph adeaaa6edd update demos for nice_kill 2022-07-22 21:39:22 +02:00
christoph 4e584546a0 comment 2022-07-22 21:39:16 +02:00
christoph db476093c7 add possibility to ask thread to suicide itself 2022-07-22 21:38:56 +02:00
christoph 16d7ae071d add name + running (nice_kill) to threads 2022-07-22 21:38:43 +02:00
christoph 3c6f6dd009 add Vector::reserve function 2022-07-22 20:45:52 +02:00
christoph 56eec2d766 disable sched log 2022-07-22 20:45:36 +02:00
christoph 4eeac40bb7 fix scheduler bug (memory req before alloc init) 2022-07-22 20:44:56 +02:00
christoph 061fa5db57 dealloc memory when exiting vesa mode 2022-07-22 20:44:35 +02:00
christoph cde3967961 fix semaphore bug (preempt before block/deblock) 2022-07-22 18:13:30 +02:00
christoph 43477834fc switch back to cpu.enable_int() from lock/unlock 2022-07-22 18:13:13 +02:00
christoph e56e76ea4e add semaphore to cga_stream + use it in demos 2022-07-22 18:12:56 +02:00
christoph e3dcadcc3c add debug get() to iterator 2022-07-22 18:12:28 +02:00
christoph b3c6c354c6 remove logger from vector 2022-07-22 18:12:17 +02:00
christoph e867107822 tools/build 2022-07-22 18:12:00 +02:00
christoph cf4a51b47a flake 2022-07-22 18:11:56 +02:00
christoph 87801e4eb2 move .clang-* 2022-07-22 18:11:31 +02:00
christoph 104540a22e log 2022-07-22 02:56:30 +02:00
christoph 8612587e65 remove semaphore from cga_stream 2022-07-22 02:56:14 +02:00
christoph 3540604ec7 add a primitive vector test 2022-07-22 02:35:33 +02:00
christoph e1978db22e main 2022-07-22 02:35:24 +02:00
christoph 01e15f484e log keyeventlistener 2022-07-22 02:35:18 +02:00
christoph 2021788831 fix wrong size after insertion bug in vector 2022-07-22 02:34:56 +02:00
christoph 8571e502e6 fix + and - bugs in iterator 2022-07-22 02:34:26 +02:00
christoph 4bd216b594 update demos 2022-07-22 02:34:15 +02:00
christoph 4327789db6 remove old input.h 2022-07-22 02:34:00 +02:00
christoph 7e86f961fe scheduler + thread_start rework 2022-07-22 02:33:45 +02:00
christoph 9ad0d81d07 add idlethread error 2022-07-22 02:33:32 +02:00
christoph d24d54ec0a use gdb -tui 2022-07-22 02:33:22 +02:00
christoph 017f7de650 adapt to scheduler rework 2022-07-21 20:36:12 +02:00
christoph 2ac36cda83 first (buggy) scheduler unique_ptr rework 2022-07-21 20:35:52 +02:00
christoph 02c75e483d implement slightly changed erase_if 2022-07-21 20:35:32 +02:00
christoph ee0295ce21 add implicit upcasting to unique_ptr 2022-07-21 20:35:21 +02:00
christoph 5164908b52 only implement one iterator class, no inheritance 2022-07-21 20:34:59 +02:00
christoph 566451ef97 switch array namespace in demo 2022-07-21 14:12:58 +02:00
christoph 40a19d32f3 change iterator friends to members 2022-07-21 02:49:05 +02:00
christoph b198e623e4 fix demo 2022-07-21 02:48:57 +02:00
christoph 498990559c add vector demo 2022-07-21 02:44:06 +02:00
christoph ae7294601d adapt to vector 2022-07-21 02:44:01 +02:00
christoph fa7d9d4d19 implement vector 2022-07-21 02:43:41 +02:00
christoph 53cea941f1 delete lists 2022-07-21 02:43:24 +02:00
christoph 48ef1948e4 comment 2022-07-21 02:43:02 +02:00
christoph 81616e0b1b comment 2022-07-20 23:39:47 +02:00
christoph 3ca01e2006 comment 2022-07-20 23:39:41 +02:00
christoph 137d433ec0 lists return 0 instead of -1 when insertion fails 2022-07-20 23:38:54 +02:00
christoph 16bde883be add missing delete[] in allocator 2022-07-20 22:59:33 +02:00
christoph f420d5f677 clean moved objects, destructor 2022-07-20 22:03:39 +02:00
christoph b2dfa72f3b switch to raw ptr, clean moved objects, destructor 2022-07-20 22:03:05 +02:00
christoph 2ed5aba8c3 add support to build with clang 2022-07-20 22:02:49 +02:00
christoph 7a3704072b comments 2022-07-20 22:02:36 +02:00
christoph b9be775518 remove template specializations from unique_ptr 2022-07-20 22:02:11 +02:00
christoph 18c659c4cc implement new list interface (optional) 2022-07-19 23:36:57 +02:00
christoph 241699a9bf switch list to optional return 2022-07-19 23:09:55 +02:00
christoph 78f38f46ef add const reference operators to unique_ptr 2022-07-19 21:59:12 +02:00
christoph fea927380e switch arraylist to unique_ptr 2022-07-19 21:59:00 +02:00
christoph b7070b522a comments 2022-07-19 21:58:50 +02:00
christoph a827e1d809 smartpointer demo 2022-07-19 21:43:10 +02:00
christoph 1519e08072 implement unique_ptr 2022-07-19 21:43:04 +02:00
christoph 5b5ca29246 comments 2022-07-19 21:42:54 +02:00
christoph a9c7b5161d switch mylib to bse namespace 2022-07-19 21:42:46 +02:00
christoph 7d789f5583 comment 2022-07-19 21:42:22 +02:00
christoph 11cd85ca18 removed old obsolete code 2022-07-19 15:01:52 +02:00
christoph 2f47dc8f94 fix list destructors 2022-07-19 14:56:59 +02:00
christoph c319c0b604 remove smarptrdemo impl until i have my own one 2022-07-19 14:51:55 +02:00
christoph 16acf1f21e smartpointer demo for debug 2022-07-19 14:48:07 +02:00
christoph f3e8466456 switch arraylist back to raw pointer 2022-07-19 14:47:59 +02:00
christoph 18c43ae37d implement list destructor 2022-07-19 14:47:49 +02:00
christoph 304458a816 switch order 2022-07-19 14:47:37 +02:00
christoph e6194247cb comments 2022-07-19 14:47:33 +02:00
christoph 84d170cc97 flake 2022-07-19 12:18:56 +02:00
christoph c8b88e2eb6 update flake 2022-07-19 12:17:17 +02:00
christoph 885eecf468 add smartpointer demo for debug 2022-07-19 11:25:56 +02:00
christoph 98eb398156 comment 2022-07-19 04:06:37 +02:00
christoph 2b1db30d1c merge dispatcher into scheduler 2022-07-19 00:28:00 +02:00
christoph f040aa562b update list demos 2022-07-19 00:19:08 +02:00
christoph 99f60383ee comments 2022-07-19 00:15:02 +02:00
christoph d2401820c7 switch demo 2022-07-19 00:02:55 +02:00
christoph b9f633ebb9 update arraylist to smartpointer 2022-07-19 00:02:25 +02:00
christoph 794f4fc7d6 update flake 2022-07-19 00:02:18 +02:00
christoph d7fcd61c11 update iterator for new list interface 2022-07-19 00:02:02 +02:00
christoph 0451af3d9c change iterator in list interface 2022-07-19 00:01:54 +02:00
christoph 348611df26 add swap_n to array 2022-07-19 00:01:40 +02:00
christoph e9b24d06be add lock to keyboard demo 2022-07-19 00:01:24 +02:00
christoph 3d76162d8a array demo 2022-07-18 21:55:36 +02:00
christoph f5a4a66207 implement simple array wrapper 2022-07-18 21:55:24 +02:00
christoph 2e4c0339a3 const iterator + separate iterator from list.h 2022-07-18 21:55:06 +02:00
christoph b9fe5d7d53 updates 2022-07-17 21:41:35 +02:00
christoph 0a7032c992 fix linkedlistiterator 2022-07-17 21:41:23 +02:00
christoph 60b02a078b test ranged based loops in demos 2022-07-17 21:41:12 +02:00
christoph 132eb13431 update for new list interface 2022-07-17 21:02:33 +02:00
christoph d09b862dc3 implement linked list 2022-07-17 21:02:19 +02:00
christoph 671ea46711 update arraylist 2022-07-17 21:02:13 +02:00
christoph 5dd23fc888 update list interface 2022-07-17 21:02:03 +02:00
christoph d87fa5e40a add blank linkedlist impl 2022-07-17 16:04:51 +02:00