It does not. The fingerprint always only unlocks the device’s HSM (“secure enclave” in Apple speak).
Between your devices enrolled in the ecosystem, private keys are synced securely (AFAIK, they make it so that an existing device’s HSM encrypts keys using the pubkey of the new one’s HSM); for signing up using your device on someone else’s computer there’s a process that combines QR codes with Bluetooth communication.
IIUC Apple syncs them using the most secure way they can, i.e. when you enroll a new device to your account the existing device, the existing device’s HSM encrypts keys using the pubkey of the new one’s HSM; and for recovery from being left with 0 Apple devices there might be (?) an escrow option that’s optional (?)
People have hacked a lot of those onto the old official engine actually (MGE XE) :D OpenMW is more focused on fundamentals than on the flashy stuff, but AFAIK currently has great fog support and the ability to load custom shaders from mods
That refcount++ and refcount-- needs to be synchronized between threads
Only for things that you specifically want shared between threads – namely this (synchronized refcount) is an std::sync::Arc
. What you want to share really depends on the app; in database-backed web services it’s quite common to have pretty much zero state shared across threads. Multithreaded environment doesn’t imply sharing!
Moved most of my stuff there a while ago, has been pretty great.