Skip to content

Stacked runners: Add a futex and threads to runner processes - #1624

Merged
Sangho Lee (sangho2) merged 1 commit into
uliteboxfrom
sanghle/ulitebox/stacked_threads
Oct 16, 2026
Merged

Sangho Lee (sangho2) merged 1 commit into
uliteboxfrom
sanghle/ulitebox/stacked_threads

Conversation

@sangho2

@sangho2 Sangho Lee (sangho2) commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

This PR adds a futex and threads to userland runner processes, which the kernel schedules and synchronizes. It also replaces the BrokerEnter kernel call with Futex, so a runner waits on and wakes the kernel broker the same way it does other threads.

@sangho2
Sangho Lee (sangho2) added this pull request to stack #1626 October 16, 2026 01:49
@sangho2
Sangho Lee (sangho2) marked this pull request as ready for review October 16, 2026 16:32
@sangho2
Sangho Lee (sangho2) force-pushed the sanghle/ulitebox/stacked_threads branch from ebe4f27 to 659ed4b Compare October 16, 2026 16:47
@sangho2
Sangho Lee (sangho2) added this pull request to the merge queue Oct 16, 2026
@github-actions

Copy link
Copy Markdown

🤖 SemverChecks 🤖 ⚠️ Potential breaking API changes detected ⚠️

Click for details
--- failure inherent_method_missing: pub method removed or renamed ---

Description:
A publicly-visible method or associated fn is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/inherent_method_missing.ron

Failed in:
  Association::enter, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/017ee407e75568a4c9b675bea38d0756881cc24d/litebox_broker_vm_kernel/src/lib.rs:383

--- failure enum_missing: pub enum removed or renamed ---

Description:
A publicly-visible enum cannot be imported by its prior path. A `pub use` may have been removed, or the enum itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/enum_missing.ron

Failed in:
  enum litebox_common_vm_abi::BrokerEnterOp, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/017ee407e75568a4c9b675bea38d0756881cc24d/litebox_common_vm_abi/src/lib.rs:613

--- failure enum_variant_added: enum variant added on exhaustive enum ---

Description:
A publicly-visible enum without #[non_exhaustive] has a new variant.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#enum-variant-new
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/enum_variant_added.ron

Failed in:
  variant Request:Futex in /home/runner/work/litebox/litebox/litebox_common_vm_abi/src/lib.rs:343
  variant Request:Clone in /home/runner/work/litebox/litebox/litebox_common_vm_abi/src/lib.rs:343
  variant Request:ExitThread in /home/runner/work/litebox/litebox/litebox_common_vm_abi/src/lib.rs:343
  variant Request:InterruptThread in /home/runner/work/litebox/litebox/litebox_common_vm_abi/src/lib.rs:343
  variant Status:Interrupted in /home/runner/work/litebox/litebox/litebox_common_vm_abi/src/lib.rs:233
  variant CallId:Futex in /home/runner/work/litebox/litebox/litebox_common_vm_abi/src/lib.rs:343
  variant CallId:Clone in /home/runner/work/litebox/litebox/litebox_common_vm_abi/src/lib.rs:343
  variant CallId:ExitThread in /home/runner/work/litebox/litebox/litebox_common_vm_abi/src/lib.rs:343
  variant CallId:InterruptThread in /home/runner/work/litebox/litebox/litebox_common_vm_abi/src/lib.rs:343

--- failure enum_variant_missing: pub enum variant removed or renamed ---

Description:
A publicly-visible enum has at least one variant that is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/enum_variant_missing.ron

Failed in:
  variant Request::BrokerEnter, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/017ee407e75568a4c9b675bea38d0756881cc24d/litebox_common_vm_abi/src/lib.rs:292
  variant CallId::BrokerEnter, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/017ee407e75568a4c9b675bea38d0756881cc24d/litebox_common_vm_abi/src/lib.rs:292

--- failure struct_missing: pub struct removed or renamed ---

Description:
A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/struct_missing.ron

Failed in:
  struct litebox_common_vm_abi::BrokerEnterRequest, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/017ee407e75568a4c9b675bea38d0756881cc24d/litebox_common_vm_abi/src/lib.rs:628

--- failure trait_method_missing: pub trait method removed or renamed ---

Description:
A trait method is no longer callable, and may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-item-signature
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/trait_method_missing.ron

Failed in:
  method receive of trait NotificationReceiver, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/017ee407e75568a4c9b675bea38d0756881cc24d/litebox_platform_vm_userland/src/lib.rs:245

Merged via the queue into ulitebox with commit 1409b34 Oct 16, 2026
10 checks passed
@sangho2
Sangho Lee (sangho2) deleted the sanghle/ulitebox/stacked_threads branch October 16, 2026 17:19
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.

1 participant