Commit Graph

81 Commits

Author SHA1 Message Date
twinaphex
44b83cf353 Cleanups 2019-04-30 11:16:14 +02:00
twinaphex
34be5862ee (task_database) Use task_init 2019-04-30 10:25:23 +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
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
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
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
379ce5eb05 Revert "Guard crash on OSX"
This reverts commit 1afda04966.
2017-01-23 14:14:46 +01:00
twinaphex
3e87196a43 Revert "Implicit declaration buildfix"
This reverts commit 77fa8c39ef.
2017-01-23 14:14:40 +01:00
twinaphex
77fa8c39ef Implicit declaration buildfix 2017-01-23 14:11:22 +01:00
Twinaphex
1afda04966 Guard crash on OSX 2017-01-23 14:10:51 +01:00
twinaphex
64bb848daf Update headers (pt. 2 - libretro-common) 2017-01-22 13:58:20 +01:00
Brad Parker
51504286be revert flush flug for positive OSD progress 2017-01-07 12:23:18 -05:00
twinaphex
7d08244204 Prevent crash when togglign between thraded and non-threaded
video
2017-01-05 08:56:16 +01:00
twinaphex
faf939856b Rewrite task_queue.c - get rid of messy internal Rarch code 2017-01-03 18:27:09 +01:00
twinaphex
7dfd5625ab Set flush to false for task queue messages 2017-01-03 17:57:52 +01:00
twinaphex
89dcc9bf5f Task queue - shows all the task queue messages now 2017-01-03 08:42:33 +01:00
twinaphex
f94d07b0fc Cleanup msg_queue_new 2017-01-01 05:58:12 +01:00
Brad Parker
daa5553777 fix another race condition 2016-12-29 23:39:51 -05:00
Brad Parker
94309b3acd fix ThreadSanitizer data race warning 2016-12-29 23:16:00 -05:00
Twinaphex
f962723943 Silence warning - unused variable 2016-12-30 03:32:35 +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
77e5cdbfde Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
This reverts commit ad7386913c.
2016-12-22 23:36:11 +01:00
twinaphex
ad7386913c Rename runloop_msg_queue_push to video_driver_msg_queue_push
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
twinaphex
1344e91286 Revert "Locking bug"
This reverts commit b40c1311b6.
2016-12-21 12:23:19 +01:00
Gregor Richards
b40c1311b6 Locking bug 2016-12-20 19:42:53 -05:00
lasers
47e91d835b Fix broken (and ugly) task popup 2016-10-29 09:53:57 -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
Higor Eurípedes
5f883b7ad1 (task_http) Don't use 100% CPU in threaded mode
This task is network bound and the HTTP functions use non-blocking I/O,
so task_http_iterate_transfer() returns "too fast" and the worker thread
gets no rest.
2016-10-09 14:44:27 -03:00
twinaphex
481ebced22 Prevent implicit memsets 2016-10-09 09:56:03 +02: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
b3ec735e75 Silence some more scan-build warnings 2016-09-25 15:25:20 +02:00
twinaphex
3f35e10014 Solve some warnings pointed out by scan-build 2016-09-25 05:55:55 +02:00
Twinaphex
a2c435ab2c Reintroduce deinit and get rid of slock_unlock at bottom of threaded_worker function 2016-07-06 16:35:00 +02:00
Andre Leiradella
50f538dc9e honor the tasks 'mute' property again 2016-06-28 17:02:01 -03:00
twinaphex
f7bd9a7843 HAVE_IMAGEVIEWER no longer has to be excluded for the C89/C90 build 2016-06-21 06:59:31 +02:00
twinaphex
390a7d76c6 (task_queue/RetroArch) Add ugly kludge so that we print progress 2016-06-20 06:16:46 +02:00
twinaphex
560f8dda60 Remove tasks_internal.c - no longer needed 2016-06-20 06:02:50 +02:00
Alcaro
2b338651ab That's not just use after free, it's complete crazy. 2016-06-05 22:50:01 +02:00