WebsterXC / digidash

CSE442 group project that will consist of Raspberry Pi software development. Our goal is to create a plug-and-play digital dashboard and engine monitoring system.
GNU General Public License v3.0
2 stars 3 forks source link

Force background daemons to yield for higher priority tasks. #21

Closed WebsterXC closed 7 years ago

WebsterXC commented 7 years ago

The CANDaemon needs to relinquish control of the "bus" long enough for DigiDash can request a non-automatic PID code.

WebsterXC commented 7 years ago

For now, we're going to trust that the Linux kernel balances resources for threads sufficient enough for our purposes. If it comes to light that it doesn't, this issue will be revisited.

WebsterXC commented 7 years ago

Confirmed that send_pid still functions as intended when CANdaemon is running in the background. The underlying OS handles scheduling both Bluetooth socket read/write operations just fine.