Поддержка многопоточности

This commit is contained in:
2025-11-16 20:50:02 +03:00
parent eeb632ed0e
commit 6880efafab
9 changed files with 420 additions and 57 deletions

View File

@@ -1,9 +1,25 @@
global main
extern run_wayland
extern init_wayland
extern run_window
extern wait_for_windows
extern destroy_wayland
section .text
main:
enter 0, 0
call run_wayland
call init_wayland
cmp eax, 0
jl .shutdown
; Launch the first window thread (duplicate calls for more windows)
call run_window
call run_window
call run_window
call wait_for_windows
.shutdown:
call destroy_wayland
leave
ret