Commit Graph

164 Commits

Author SHA1 Message Date
twinaphex
1c406bc098 Add rarch_main_data_pending_scan_finished and other mechanisms
so that the call to menu_environment_cb gets made on main thread
2015-07-09 02:31:46 +02:00
twinaphex
cdf3ce309e Decouple 'overlay' state from driver_t 2015-07-09 01:10:30 +02:00
twinaphex
68f400bd9f (runloop_data.c) Cleanup 2015-07-09 00:18:40 +02:00
twinaphex
c6fc3eaafd (runloop_data.c) Some refactors 2015-07-09 00:17:20 +02:00
twinaphex
e23499d2b2 (runloop_data.c) Cleanups 2015-07-09 00:01:55 +02:00
twinaphex
51e2a128c5 (runloop data) Don't have to pass around runloop pointer anymore 2015-07-08 23:01:11 +02:00
twinaphex
c90072df55 Move lock to task_overlay.c 2015-07-08 22:42:45 +02:00
twinaphex
04b98bebd9 Cut down on header includes 2015-07-08 22:14:31 +02:00
twinaphex
6f4e53e454 Remove unused variables 2015-07-08 22:04:37 +02:00
twinaphex
52e2fd1689 Refactor task_database.c 2015-07-08 22:03:23 +02:00
twinaphex
c84ddb53fa (task_databse.c) Refactors 2015-07-08 21:48:58 +02:00
twinaphex
3605b97c80 Create rarch_main_data_http_uninit 2015-07-08 21:38:22 +02:00
twinaphex
dcd5a4fdcc Refactor task_http.c 2015-07-08 21:35:24 +02:00
twinaphex
74627d1497 (task_http.c) Some refactors 2015-07-08 21:18:34 +02:00
twinaphex
82f645ce51 Simplify rarch_main_data_active 2015-07-08 21:13:04 +02:00
twinaphex
664592b354 Use rarch_main_data_nbio_get_handle and rarch_main_data_nbio_image_get_handle 2015-07-08 20:10:18 +02:00
twinaphex
a1a4bc4057 task_file_transfer.c - decouple 'nbio' state from runloop data struct 2015-07-08 20:04:16 +02:00
Alcaro
4ca6c2398c More C89 cleanups, part 3 2015-06-26 18:35:52 +02:00
twinaphex
819723be06 Move '_refresh' functions to menu_entries.c 2015-06-16 03:03:20 +02:00
twinaphex
098c8a6063 Move some header includes around 2015-06-13 19:12:10 +02:00
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