56 Commits

Author SHA1 Message Date
twinaphex
64f8a5990c Create fifo_initialize/fifo_deinitialize 2020-08-24 12:17:33 +02:00
twinaphex
71708f8ddd (libretro-common) Add msg_queue_initialize/msg_queue_deinitialize 2020-08-24 12:04:56 +02:00
twinaphex
4c0d9bc68d Struct reordering/alignment 2020-08-14 21:19:32 +02:00
twinaphex
b3963a2897 Struct alignment changes 2020-08-14 18:03:09 +02:00
Jamiras
6f964681ae update comment 2020-07-12 08:21:02 -06:00
twinaphex
0a1942f528 Turn fifo_read_avail and fifo_write_avail into macros 2020-07-07 08:13:32 +02:00
twinaphex
4933b89736 Buildfix 2020-03-05 14:18:41 +01:00
jdgleaver
35977efe43 Prevent improper display of (old style) OSD text when widgets are enabled 2020-03-05 12:28:38 +00:00
Jamiras
e00449c410 delay subsequent unlock attempts on failure 2020-02-22 07:11:01 -07:00
twinaphex
cd9ca691ca (libretro-common) Update copyright 2020-01-31 15:43:42 +01:00
natinusala
486f438cc3 task_database: reimplement task progression 2019-05-01 15:13:41 +02:00
Twinaphex
a797324133
Revert "task_database: use regular progress report" 2019-04-30 10:01:07 +02:00
natinusala
8c7db837b4 task_database: use regular progress report 2019-04-29 20:04:41 +02:00
Brad Parker
e0b75ec3fb fix a whole bunch of memory leaks 2019-03-01 12:05:14 -05:00
twinaphex
386657a366 (menu widgets backport) Re-commit task queue changes 2019-02-08 08:00:32 +01:00
twinaphex
7022786f34 Revert parts of menu_widgets that were causing breakage, but leave
all the hooks in so we can add them back piece by piece again
2019-02-08 07:26:43 +01:00
Twinaphex
477170884b Some warning fixes 2019-02-06 23:25:41 +01:00
natinusala
c20ab3864d First version of menu widgets (gl only) 2019-02-06 20:48:24 +01:00
orbea
e062b98088 Remove trailing blank lines.
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
twinaphex
768ebbfdb5 Merge commit 'ce9ce1d35387ef8144e53bf071396fa075bfb6c5' as 'libretro-common' 2018-05-12 17:56:34 +02:00
twinaphex
0548349991 Remove libretro-common 2018-05-12 17:56:14 +02:00
twinaphex
be7eb4de1c Update libretro-common 2018-04-16 08:57:17 +02:00
Brad Parker
e62e0c83da win32: Show progress meter on taskbar for downloads (Windows 7 and up) 2018-01-01 02:08:09 -05:00
Alcaro
9ab6957dc4 Fix #6009 v2.0 2017-12-31 14:32:14 +01:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
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
0215badb4c (FIFO queue) Turn some functions into static inline functions 2017-04-20 20:28:57 +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
f0fd3895b6 Updates 2016-03-20 16:36:39 +01:00
twinaphex
ef4a1a3c0f (libretro-common) Rename fifo_buffer to fifo_queue 2016-03-20 14:06:21 +01:00
twinaphex
5b6d310abd Rename enums 2016-02-09 18:26:27 +01:00