'How to use Clang's Thread Safety Analysis (`-Wthread-safety`) to restrict selected functions onto the GUI thread?
The Thread Safety Analysis docs says the following
Similarly, if there are particular routines that should only be called by the GUI thread, then the analysis will warn if other threads call those routines.
The docs does not show any code example how to set this up. Can you provide such example?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
