Commit Graph

13 Commits

Author SHA1 Message Date
Ian Gulliver
896874e9d7 Switch wakeup to standard list. 2016-03-02 19:10:31 -08:00
Ian Gulliver
19a9d498bd Enable -Weverything, fix a ton of bugs. 2016-02-25 23:37:37 -08:00
Ian Gulliver
1635534243 Switch from sketchy dup() juggling to callbacks to retry outgoing connection. 2016-02-24 20:15:09 -08:00
Ian Gulliver
2ce2ed5bf5 Split out packet. Delete common. 2016-02-22 16:58:13 -08:00
Ian Gulliver
b5ab0cb0a6 Split out peer 2016-02-22 16:49:43 -08:00
Ian Gulliver
21536eee33 Move retry delay calculation into wakeup, since it's only used there. 2016-02-22 16:33:00 -08:00
Ian Gulliver
f255170967 Move wakeup into the main thread to remove complexity. Looks like CLOCK_MONOTONIC_COARSE doesn't need a syscall. 2016-02-22 14:37:00 -08:00
Ian Gulliver
a48c4a24f5 Avoid a spinloop waiting for zero ms. 2016-02-21 16:55:31 -08:00
Ian Gulliver
8f36ad0db8 Wakeup/delay fixes, and actually add retries for incoming and outgoing. 2016-02-21 16:47:27 -08:00
Ian Gulliver
6384e0f20d Wakeup actually working (probably), add delay calculator. 2016-02-21 15:51:38 -08:00
Ian Gulliver
ec79ba0da1 Much closer to complete cleanup before exit. 2016-02-21 13:57:35 -08:00
Ian Gulliver
71413f97e5 More structure for wakeup. 2016-02-20 23:56:40 -08:00
Ian Gulliver
cf6eef6118 Move adsbus into its own dir. 2016-02-18 09:36:53 -08:00