| 38 | use crate::UntrustedMod; |
| 39 | |
| 40 | pub(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 | |
| 53 | pub(crate) enum BackgroundThreadMessage { |
| 54 | Import(Vec<FileToProcess>), |
nothing calls this directly
no outgoing calls
no test coverage detected