This MR implements group affinity support in attributes list
passed to CreateRemoteThreadEx().
(up to the current Wine limit of 64 logical cores).
It also adds a couple of missing APIs definitions related to group affinity
support.
Notes:
- duplicating for the Nth time struct \_PROC\_THREAD\_ATTRIBUTE\_LIST
definition isn't very nice... perhaps we should define it somewhere?
- it's very likely that CreateRemoteThreadEx() should call into
NtCreateThreadEx() (instead of the Rtl counter part), but I opted
for the simpler approach to set thread affinity after thread creation
(this could be changed if needed).
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/9271
find_subkey() can crash when accessing a deleted subkey. When a key
is deleted, its node may remain in the subkeys array but key->obj.name
becomes NULL due to unlink_named_object(). This can happen when iterating
over subkeys during rename or delete operations.
Signed-off-by: chenzhengyong <chenzhengyong(a)uniontech.com>
--
v2: server: Fix incorrect key modification in rename_key function
https://gitlab.winehq.org/wine/wine/-/merge_requests/9247
I build failed on mshtml due to this MR. ‘IID_IWineHTMLInputPrivate’ undeclared here (not in a function); did you mean ‘IID_IWineHTMLWindowPrivate’?
before this MR build is success. after revert is also build success.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/9252#note_119535