diydrones/ardupilot — pull request #1366 by badzz (2014-09-06 16:30:58+00:00)
Title: AP_HAL_PX4 : make UARTDriver capable to be called from different threads...

....

The modification allows the read and write functions to be called by any thread but the calling thread must be the last one that called the begin() function.