Searching the code and I can’t really find anyone using this. Is this heavily used internally at Apple, or is it used anywhere at all for that matter?
Xcode uses SBHostOS::ThreadCreate. Plus, since this is SWIG'ified we don't know who is using it in Python scripts.
We've said on a number of occasions that we wouldn't REMOVE anything from the Python API's till we declare version 2.0 and go through and do a real house-cleaning. I'd rather not go back on that if we can avoid it.
I’m with you there, mostly just trying to get an idea. It’s kind of unfortunate that we expose ThreadCancel and ThreadDetach through that interface, but it is what it is.
Oh, yeah, there are a bunch of things we'll change in the SB API's when we revisit them. But I don't think we'll get around to that for a bit.