AP_HAL: added thread_info() API

This commit is contained in:
Andrew Tridgell 2020-03-28 07:28:44 +11:00
parent 67fc23d01b
commit 164022ca12

View File

@ -182,6 +182,9 @@ public:
// attempt to trap the processor, presumably to enter an attached debugger
virtual bool trap() const { return false; }
// request information on running threads
virtual size_t thread_info(char *buf, size_t bufsize) { return 0; }
protected:
// we start soft_armed false, so that actuators don't send any
// values until the vehicle code has fully started