btstack_run_loop_execute_on_main_thread() is only used within Bluetooth LE Stack.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferences

Notes

If callback is already registered, the call will be ignored. This function allows to implement, e.g., a queue-based message passing mechanism: The external thread puts an item into a queue and call this function to trigger processing by the BTstack main thread. If this happens multiple times, it is guaranteed that the callback will run at least once after the last item was added.

References

from examples