1
0
Fork 0
mirror of https://gitlab.com/niansa/cosched.git synced 2025-03-06 20:53:26 +01:00

Commit graph

  • 70c28d90ac Changed to CC0 LICENSE master niansa 2024-03-18 07:36:14 +00:00
  • 671bdb57be Improved LockGuard nodiscard niansa 2023-05-22 23:57:49 +02:00
  • fddceb7171 Improved mutex heavily niansa 2023-05-22 23:55:59 +02:00
  • d12406aba9 Pop mutex unlock queue properly niansa 2023-05-22 22:58:37 +02:00
  • 3649712059 Unlock mutex properly niansa 2023-05-22 22:55:39 +02:00
  • ecacf7f9f7 Implemented experimental async mutex niansa 2023-05-22 22:46:30 +02:00
  • 9d1047be54 Build as shared library niansa 2023-05-16 20:17:10 +02:00
  • 2f43b6d41b Compile as PIE niansa 2023-05-16 19:23:29 +02:00
  • 1acf3f88a1 Fixed typo niansa 2023-05-10 15:43:56 +02:00
  • 05eb25ce59 Removed stray backtick niansa 2023-05-10 15:18:44 +02:00
  • a7a6e580b4 Added more elements to Priority enum niansa 2023-05-10 15:17:49 +02:00
  • abfddec29c Added get_state_string() niansa 2023-05-10 14:46:25 +02:00
  • e38e792adc Fixed priority being unsigned niansa 2023-05-06 10:35:36 +02:00
  • 666a9aee3f Fixed warnings and added Task::is_dead() niansa 2023-05-06 01:13:50 +02:00
  • 32bfe1dbac Resource deadlock avoided niansa 2023-05-05 21:00:00 +02:00
  • a95878f505 Fixed typo niansa 2023-05-05 18:43:27 +02:00
  • f7592dc8d1 Removed some locks sind Scheduler isn't thread-safe anyways niansa 2023-05-05 18:42:12 +02:00
  • 83e375a1e0 Fixed delete_task deleting running tasks niansa 2023-05-05 15:22:33 +02:00
  • c016ccd672 Minor reworks and fixed lambda lifetime in ScheduledThread niansa 2023-05-05 12:55:48 +02:00
  • 78f710d0f5 Removed debug leftovers niansa 2023-05-05 10:25:50 +02:00
  • 3def9bb02c Replaced libasync with basic-coro We don't need full-blown libasync here... niansa 2023-05-05 10:24:05 +02:00
  • 860e097972 Fixed ScheduledThread::main_loop keeping queue lock for too long niansa 2023-05-04 20:36:04 +02:00
  • 6a225e88df Renamed ScheduledThread::enqueue to create_task niansa 2023-05-04 19:50:47 +02:00
  • 19b29577a1 Improved ScheduledThread::enqueue niansa 2023-05-04 19:49:36 +02:00
  • e53d6c2c7e Moved ScheduledThread::main_loop into another file niansa 2023-05-04 15:09:30 +02:00
  • 1e3e3c7786 Added some hints to ScheduledThread functions niansa 2023-05-04 15:07:56 +02:00
  • 637889421a Implemented ScheduledThread niansa 2023-05-04 15:06:26 +02:00
  • c84bb0d571 Added Scheduler::run_once() niansa 2023-05-04 14:27:16 +02:00
  • 698bc16ecd Don't build test niansa 2023-05-04 14:09:53 +02:00
  • 3714abde1c Allow reading current task from Task::current() niansa 2023-05-04 14:09:27 +02:00
  • bf5033f6bc Changed the way termination is handled niansa 2023-05-04 11:27:37 +02:00
  • eba003a721 Simplified states and added suspension niansa 2023-05-04 11:04:02 +02:00
  • 31541ce918 Add LICENSE niansa 2023-05-04 08:40:12 +00:00
  • dbc07373d4 Initial commit niansa 2023-05-04 10:38:09 +02:00