MCPcopy Create free account
hub / github.com/AstroTechies/unrealmodding / BackgroundThreadData

Class BackgroundThreadData

unreal_mod_manager/src/background_work.rs:40–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38use crate::UntrustedMod;
39
40pub(crate) struct BackgroundThreadData {
41 pub data: Arc<Mutex<ModLoaderAppData>>,
42 pub use_cpp_loader: bool,
43
44 pub ready_exit: Arc<AtomicBool>,
45 pub last_integration_time: Arc<Mutex<Instant>>,
46 pub working: Arc<AtomicBool>,
47
48 pub newer_update: Arc<Mutex<Option<UpdateInfo>>>,
49 pub should_update: Arc<AtomicBool>,
50 pub update_progress: Arc<AtomicI32>,
51}
52
53pub(crate) enum BackgroundThreadMessage {
54 Import(Vec<FileToProcess>),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected