mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-23 10:40:27 +00:00
The invalid thread is specified as 0,0,-1 (ec cap, sc cap, sem cap). The main thread is specified as 0,0,0. The comparator identified "tid_main == tid_invalid" as equal, which is obviously wrong. The patch compares at least ec and sem cap.