Files
DroidDeck/app
MaxsTechReview a6fe10d8ff fix(input): resolve fake input's real functions before any loader lock is held (#3193)
* Resolve fake input's real functions before any loader lock is held

Each hooked call looked up its real function through a function-local
static, and the x86 dlsym hook opened libc the same way. A thread that
entered a hook first held the static's guard while dlsym waited for the
loader lock, and a thread inside dlopen held the loader lock while its
constructor called the same hook and waited for the guard. Steam's update
window hung that way under FEX, so x86 Steam stopped at Installing update.

The real functions now live in lock-free slots filled by the library's
constructor, and the dlsym hook resolves dlvsym and libc there too.

* Use an atomic handshake in the loader lock test
2026-11-25 04:24:58 -05:00
..