Skip to content

[SIGNAL] Added partial deferred signal support#3892

Merged
ptitSeb merged 2 commits into
ptitSeb:mainfrom
ksco:deferred-signal
May 25, 2026
Merged

[SIGNAL] Added partial deferred signal support#3892
ptitSeb merged 2 commits into
ptitSeb:mainfrom
ksco:deferred-signal

Conversation

@ksco
Copy link
Copy Markdown
Collaborator

@ksco ksco commented May 25, 2026

The cold startup time of wine explorer on my 3B6000 dropped from 21s to 13s.

The cold startup time of `wine explorer` on my 3B6000 dropped from 21s to 13s.
@ptitSeb
Copy link
Copy Markdown
Owner

ptitSeb commented May 25, 2026

There is an issue with WOW64 build:

In file included from /home/runner/work/box64/box64/src/dynarec/arm64/dynarec_arm64_helper.c:11:
/home/runner/work/box64/box64/wine/wow64/../../src/emu/x64emu_private.h:143:5: error: unknown type name 'siginfo_t'; did you mean 'sysinfo_t'?
  143 |     siginfo_t   deferred_siginfo[MAX_SIGNAL+1];
      |     ^~~~~~~~~
      |     sysinfo_t
/home/runner/work/box64/box64/wine/wow64/../../src/include/sysinfo.h:21:3: note: 'sysinfo_t' declared here
   21 | } sysinfo_t;
      |   ^
1 error generated.

@ptitSeb
Copy link
Copy Markdown
Owner

ptitSeb commented May 25, 2026

To go further with this change, at some point we'll have to check if can avoid the get_emu_thread() function, which might be a bit taxing. Having an x64emu_t* along all function call is not always possible (well, possible yes, but usefull or practical, not always), and the cost of the function call needs to be evaluated, but that's something to keep in mind.

@ksco ksco force-pushed the deferred-signal branch from ae1ee31 to 5800afe Compare May 25, 2026 09:30
@ptitSeb ptitSeb merged commit 5873363 into ptitSeb:main May 25, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants