Commit Graph

22 Commits

Author SHA1 Message Date
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
3a581ba8b0 (task_autodetect.c) Solve some threading errors 2016-12-29 05:49:24 +01:00
twinaphex
7e43d9c469 Attempt to fix Coverity ID 158346 2016-12-21 01:45:19 +01:00
twinaphex
2153f3f011 Check if autodetect is enabled at beginning of connect task 2016-12-16 15:18:04 +01:00
twinaphex
209305f944 Connect task now sets PID/VID too 2016-12-16 14:02:11 +01:00
twinaphex
d9def056e7 The 'connect' task now sets the device name upon completion 2016-12-16 12:33:56 +01:00
twinaphex
62f5b2d3c3 The disconnect task now clears the device name 2016-12-16 12:20:31 +01:00
twinaphex
1386476792 Cleanups 2016-12-04 05:53:44 +01:00
twinaphex
3dc944977c (task_autodetect.c) Fix memory leak 2016-12-04 05:50:50 +01:00
twinaphex
697760d580 Silence some warnings 2016-12-03 06:09:55 +01:00
Twinaphex
4c41c7a3d0 Fix for when a device is not able to be autoconfigured - properly finish
the task then
2016-12-01 23:03:09 +01:00
twinaphex
230d7105fd CXX_BUILD fix 2016-12-01 22:57:43 +01:00
twinaphex
22e1854b8c Get rid of runloop.h header include 2016-12-01 22:49:16 +01:00
twinaphex
24a689c274 Cleanup 2016-12-01 22:38:19 +01:00
twinaphex
82bea3ba9f Remove FIXME/TODO 2016-12-01 22:37:27 +01:00
twinaphex
3db866e5dc disconnect action is a task now too 2016-12-01 22:36:38 +01:00
twinaphex
4a894afc57 Don't make it a blocking task 2016-12-01 22:19:09 +01:00
twinaphex
6a2df4615b task_autodetect.c- style nits 2016-12-01 22:17:36 +01:00
twinaphex
305b2becbd input_autoconfigure_connect - now a task 2016-12-01 22:16:06 +01:00
twinaphex
25cc9446e8 Simplify input_autoconfigure_connect 2016-12-01 20:41:41 +01:00
twinaphex
f1dd06db20 (task_autodetect.c) Remove header include 2016-12-01 20:39:42 +01:00
twinaphex
d3c22cb0e4 Move input/input_autodetect.c to tasks/task_autodetect.c 2016-12-01 20:38:20 +01:00