SBHostOS implements a threading framework that allows creating and manipulating
OS threads in the current process.
We usually don't deprecate SB APIs, but in this case I think it makes sense because:
- The framework is not implemented on all platforms (i.e. Windows and *BSD support seems to be incomplete)
- ThreadCreated is completely unimplemented..
- It hasn't been touched since the original check-in of the source code.
- I don't think it can even be used via the Python bindings as ThreadCreate seems impossible to call (it takes a function pointer and returns a OS specific struct).
- It's not tested.
- It's to my knowledge not used by Xcode or anyone that has their source code indexed by Google.
- It's the only reason why we (partially) implement a bunch of internal threading utilities in LLDB (which I'll remove in a follow-up patch).
I would propose deprecating it with the upcoming LLDB 13 release (which will be branched in about a month).