Commit Graph

22 Commits

Author SHA1 Message Date
aliaspider b00776b09e allow easier scheduling of tasks in single threaded mode by adding a
condition callback to task_queue_wait.
2017-05-22 11:18:42 +01:00
twinaphex 4afa2871ab Add comments 2017-05-14 21:00:25 +02:00
twinaphex 80d9d1f143 Rewrite task_queue 2017-05-14 20:43:48 +02:00
twinaphex 64bb848daf Update headers (pt. 2 - libretro-common) 2017-01-22 13:58:20 +01:00
twinaphex faf939856b Rewrite task_queue.c - get rid of messy internal Rarch code 2017-01-03 18:27:09 +01:00
Brad Parker 41f40acfc4 guard task struct read/writes across threads with a mutex, fixes several data races found by ThreadSanitizer and helgrind 2016-12-29 00:54:12 -05:00
twinaphex 4fb6808321 libretro-common is MIT and we don't want individual copyright
per authors here; RetroArch is GPL and it's fine there
2016-10-27 19:52:58 +02:00
Brad Parker d1d5584d18 update copyright 2016-10-27 11:47:10 -04:00
Brad Parker 795fd0cfa3 add blocking task type that only allows one instance in the queue 2016-10-02 19:05:30 -04:00
Brad Parker 88d70d7da6 whitespace 2016-10-02 19:05:30 -04:00
twinaphex 560f8dda60 Remove tasks_internal.c - no longer needed 2016-06-20 06:02:50 +02:00
Andre Leiradella d791da9507 undefined debug macros 2016-05-27 00:06:03 -03:00
Torsten Paul 845dcef6ab Add cleanup handler for tasks to free allocated resources after the task finished. 2016-05-23 22:36:29 +02:00
twinaphex bb1d1da693 Remove runloop_iterate_data 2016-05-16 17:29:02 +02:00
twinaphex eb689fdd24 C89_BUILD fix 2016-05-08 04:21:56 +02:00
Sebastien Ronsse 8f6bb23f38 task queue: Implement running tasks retrieval mechanism 2016-05-06 14:41:45 +10:00
Andre Leiradella 8be7fd5f0a http tasks can now be cancelled 2016-05-05 15:32:36 -03:00
Twinaphex 1c2bf6e305 Revert "http tasks can now be cancelled; on-demand thumbnail download working" 2016-05-05 17:00:43 +02:00
Andre Leiradella 9b889e14d4 http tasks can now be cancelled; on-demand thumbnail download working 2016-05-05 09:48:50 -03:00
twinaphex 08b7ac500b (libretro-common) Updates 2016-04-23 10:40:46 +02:00
twinaphex 5b6d310abd Rename enums 2016-02-09 18:26:27 +01:00
twinaphex 8b9c7a47e4 Move task_queue to queues/ dir 2016-02-09 18:13:47 +01:00