Skip to content

d/android: initialize our thread and mutex

Aidan Thornton requested to merge makomk/monado:android-initialize-thread into main

Monado's threading code now checks that threading primitives have been initialized correctly in debug builds, and the Android driver wasn't doing that. (The code to destroy them was already there though.) This fixes that and makes Android debug builds work again.

Note that I'm not convinced the error checking and handling is quite right here, but it matches up with what existing code is doing and probably won't be an issue in practice.

Merge request reports