6504ce448e
Deregistration of hid_device_removal_callback fails because the call to IOHIDDeviceRegisterRemovalCallback doesn't deregister it as it should. This causes crashes when hid_device_removal_callback is called after the read_thread has been shutdown. This patch works around this problem by: 1) Letting the 'dev' hid_device, so that the callback can safely read the struct, even after the read_thread has been shut down and the memory should have been freed. 2) Making sure that the two racing callbacks that previously called CFRunLoopStop, hid_device_removal_callback and perform_signal_callback, now synchronize and make sure that CFRunLoopStop is only called once. |
||
---|---|---|
artwork | ||
flight | ||
ground | ||
hardware | ||
make | ||
matlab | ||
package | ||
shared | ||
.commit-template | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
CONTRIBUTING.md | ||
CREDITS.txt | ||
GPLv3.txt | ||
legacy_openpilot_license.txt | ||
LICENSE.txt | ||
Makefile | ||
MILESTONES.txt | ||
README.md | ||
tool_install.sh | ||
WHATSNEW.txt |
About the LibrePilot Project
Open - Collaborative - Free
The LibrePilot open source project was founded in July 2015. It focuses on research and development of software and hardware to be used in a variety of applications including vehicle control and stabilization, unmanned autonomous vehicles and robotics. One of the project’s primary goals is to provide an open and collaborative environment making it the ideal home for development of innovative ideas.
LibrePilot welcomes and encourages exchange and collaboration with other projects, like adding support for existing hardware or software in collaboration under the spirit of open source.
LibrePilot finds its roots in the OpenPilot project and the founding members are all long-standing contributors in that project.
The LibrePilot Project will be governed by a board of members using consensual methods to make important decisions and to set the overall direction of the project.
The LibrePilot source code is released under the OSI approved GPLv3 license. Integral text of the license can be found at www.gnu.org
Links for the LibrePilot Project
- Main project web site
- Project forums
- Source code repository
- Mirror
- Issue tracker
- Gitter Chat
- IRC: #LibrePilot on FreeNode