Fixes a regression introduced by commit
6aa437de6aa3549abd885c387ea79d18eb0eba56.
logical_proc_info_add_by_id() updates the mask for cores belonging to package for already added RelationProcessorPackage. But now it updates it only for logical_proc_info and not logical_proc_info_ex structure by returning early when the package is found.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/919
Some Wine tests are multi-threaded or start child processes which can
result in traces and failure messages being garbled which prevents them
from being recognized by continuous integration tools.
So printing the tests messages is now serialized. Note that if a process
crashes while holding the mutex, that mutex will be abandonned and not
cause a deadlock.
--
v9: tests: Make sure only one thread prints traces at a time.
https://gitlab.winehq.org/wine/wine/-/merge_requests/734