Commit Graph

144 Commits

Author SHA1 Message Date
twinaphex
c36e21ed13 (General) Cleanup 2015-06-12 17:00:37 +02:00
twinaphex
0cfeff8e1e Cleanups 2015-06-02 18:28:51 +02:00
twinaphex
e8691eb4d6 Move db.handle to runloop_data.h 2015-05-23 18:13:23 +02:00
twinaphex
c4d72672a2 Add DATA_TYPE_DB to main_message_queue_push 2015-05-23 18:03:30 +02:00
twinaphex
f6fafeb5fa Ifdef threading code block with HAVE_THREADS 2015-05-18 20:29:52 +02:00
twinaphex
c91ddf794f Simplify call to menu_do_refresh 2015-05-16 17:33:12 +02:00
twinaphex
87e46cefb8 Take out menu_do_refresh out of menu_entry_select 2015-05-16 17:28:24 +02:00
twinaphex
02b29e08ad Move menu_do_refresh to rarch_main_data_iterate 2015-05-16 17:27:16 +02:00
twinaphex
6f84857ec3 Make rarch_main_data_get_ptr a public function 2015-05-16 16:42:08 +02:00
twinaphex
0330d2f245 Make rarch_main_data_active a public function 2015-05-16 16:37:58 +02:00
twinaphex
f6a3809d7f (runloop_data.c) Prevent warning 2015-05-07 09:28:06 +02:00
Twinaphex
d5e23012f1 (Data runloop) Split up overlay task code to tasks/task_overlay.c 2015-05-05 18:16:09 +02:00
Twinaphex
8c75fd3530 Split up database runloop data code to tasks/task_database.c 2015-05-05 18:05:59 +02:00
Twinaphex
a04debf7c5 (Tasks/data runloop) Move code to task_file_transfer.c 2015-05-05 17:58:37 +02:00
Twinaphex
684a0555ed Move code to tasks/task_http.c 2015-05-05 17:36:58 +02:00
Twinaphex
54550912f5 (Runloop data) Start rearranging code 2015-05-05 09:50:00 +02:00
Alcaro
61bfe0d1af Fix race between writing ->thread_inited and ->alive. 2015-05-04 20:33:20 +02:00
twinaphex
9c9e26d70c Add texture_image_set_color_shifts and texture_image_color_convert
to wallpaper_cb function
2015-05-04 10:18:00 +02:00
twinaphex
e08fecd727 Pass runloop handle to rarch_main_data_active function -
make sure mutex gets unlocked at the end in rarch_main_data_overlay_iterate
even if driver or driver->overlay is NULL
2015-05-03 02:33:33 +02:00
twinaphex
6d89a92952 (Runloop data) Move sleeping function call up - unlock mutex afterwards 2015-05-03 00:49:37 +02:00
twinaphex
b68e4237e9 (Runloop data) Only let data runloop sleep if there is no activity
ongoing
2015-05-03 00:48:23 +02:00
twinaphex
d97b744b32 (runloop.c) Cleanup 2015-04-27 05:36:41 +02:00
twinaphex
bea1ae5dbd (runloop_data.c) Some more robustness checks 2015-04-26 00:28:33 +02:00
twinaphex
a84d53ebba (runloop_data.c) Make rarch_main_data_overlay_iterate more robust 2015-04-26 00:27:08 +02:00
twinaphex
4e5bf65e23 Create HAVE_RPNG define 2015-04-19 16:55:03 +02:00
Twinaphex
946e7b6b86 Remove unused variable 2015-04-14 12:09:08 +02:00
twinaphex
bb6331874a Refactor database runloop code 2015-04-14 09:27:55 +02:00
twinaphex
b7321df63c (Database) Fix database runloop on data runloop 2015-04-14 08:10:12 +02:00
twinaphex
c25e397261 Move rarch_main_data_overlay_iterate over to data_runloop_iterate 2015-04-13 20:18:32 +02:00
twinaphex
79c93b444d Crate main_data_overlay_image_upload_iterate 2015-04-13 19:22:35 +02:00
twinaphex
d7ee7efac5 (runloop_data.c) Refactors 2015-04-12 07:17:55 +02:00
Twinaphex
3fbf105c5e (runloop_data.c) Sleep for 10 milliseconds per data runloop thread
iteration - should fix high CPU usage issues
2015-04-12 06:45:38 +02:00
twinaphex
f16e19e5b4 (runloop_data.c) Cleanups/style nits 2015-04-11 09:33:20 +02:00
twinaphex
89366b9b35 (runloop_data.c) Cleanups 2015-04-11 09:25:41 +02:00
twinaphex
6cb2c57c0e (DB) Create message queue for db operations 2015-04-11 09:17:27 +02:00
twinaphex
09feb15e97 Simpler way of showing download progress message on threaded
data runloop (also usable for other messages in the future)
2015-04-11 03:34:26 +02:00
twinaphex
6b617f498b Refactor rarch_main_data_db_iterate some more 2015-04-11 03:13:52 +02:00
twinaphex
b385e0f39e (rarch_main_data_db_iterate) Make it more robust 2015-04-11 03:06:50 +02:00
Twinaphex
4f02cc306b (Data runloop) Remove unused variable 2015-04-11 02:06:33 +02:00
twinaphex
156204293c Create rarch_main_data_nbio_image_upload_iterate 2015-04-11 02:01:08 +02:00
twinaphex
91e70cae41 (Data runloop) Cleanup some unused variables 2015-04-11 01:42:16 +02:00
twinaphex
11d75d088c (data runloop) Start creating separate message queue for data runloop 2015-04-11 01:17:46 +02:00
twinaphex
d4b10f1094 Comment out download progress message for now - causes threading
issues with threaded data runloop
2015-04-11 00:11:49 +02:00
twinaphex
a27c0714cb Take chunk_type out of struct 2015-04-10 23:45:56 +02:00
twinaphex
642a5ddb40 Put HAVE_THERADS guard around conditional 2015-04-10 23:31:53 +02:00
twinaphex
64e3e40bb6 rarch_main_data_thread_init - cleanup 2015-04-10 23:22:57 +02:00
twinaphex
c9986f871d Cleanup rarch_main_data_thread_init 2015-04-10 23:20:48 +02:00
twinaphex
c4020ebbd3 rarch_main_data_thread_init - cleanup 2015-04-10 23:17:29 +02:00
twinaphex
47b3895208 (Data runloop) Create locks before creating thread 2015-04-10 23:15:19 +02:00
twinaphex
48b71c8e01 (Runloop data) Move http_iterate to non-threaded data runloop for now - code
not thread-safe for now
2015-04-10 22:41:37 +02:00