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
Alcaro
9b2f6522a2
Fix use-after-free (thanks, Coverity)
2016-06-02 21:31:08 +02:00
twinaphex
2e42778f1e
(task_queue.c) Prevent resource leak
2016-06-01 02:37:26 +02:00
twinaphex
03ded43280
Prevent explicit null dereferenced warnings
2016-05-26 18:09:46 +02: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
8bcc889d90
Comment this out - makes all tasks way too slow
2016-05-09 07:54:45 +02:00
twinaphex
60789e0141
Cleanups
2016-05-08 16:25:26 +02:00
twinaphex
ae9ea8f2db
(MSVC) Buildfixes
2016-05-08 04:04:50 +02:00
twinaphex
648da7b6e6
(task_queue) Remove unused variable
2016-05-06 18:57:11 +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
18e94a5365
(task_queue.c) Remove unused variable
2016-05-05 17:46:04 +02: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