@grynspan also just to double-check, you’re not referring to c APIs in general, just Carbon specifically, right?
-
-
@rob_rix Yup. There are plenty of C APIs on OS X that aren't part of Carbon. I'm curious who is still using properly-Carbon APIs.0 replies 0 retweets 0 likes -
@grynspan Some resource manager and process manager stuff. Also file manager, but I think most or all of that could be migrated.0 replies 0 retweets 0 likes -
@mjtsai You should be able to (and should!) move off the Process Manager and File Manager. There are Cocoa replacements for both.0 replies 0 retweets 0 likes -
@grynspan I don't think there are Cocoa APIs for mounting or unmounting volumes.0 replies 0 retweets 0 likes -
@mjtsai Disk Arbitration can be used for this stuff. DADiskMount() and DADiskUnmount().0 replies 0 retweets 0 likes -
@grynspan Yes, in theory those will work. Not a drop-in replacement because they're async.0 replies 0 retweets 0 likes -
@mjtsai Which is good because they do heavy I/O, and should be asynchronous. :)0 replies 0 retweets 0 likes -
@grynspan I actually had to stop calling FSUnmountVolume on 10.11 because it stopped working…0 replies 0 retweets 0 likes -
@mjtsai Oh, that's unfortunate. Please file a radar.0 replies 0 retweets 0 likes
@grynspan That kind of Radar is low-priority for me to file because I already had to work around it in my app.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Rob Rix
Jonathan Grynspan
Michael Tsai