summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorMica White <botahamec@outlook.com>2025-12-07 14:23:22 -0500
committerMica White <botahamec@outlook.com>2025-12-07 14:23:22 -0500
commit610e575043bfc75feafcce5bddaf7e1a436e5d02 (patch)
tree15149b937984f73feb7bb63be662882094f27abe /src/main.rs
First commitHEADmain
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
new file mode 100644
index 0000000..56066a5
--- /dev/null
+++ b/src/main.rs
@@ -0,0 +1,20 @@
+use std::time::Duration;
+
+use happylock::ThreadKey;
+use uuid::Uuid;
+
+mod builtins;
+mod file;
+mod pipe;
+mod processes;
+
+use processes::start_builtin;
+
+fn main() {
+ let mut key = ThreadKey::get().unwrap();
+ start_builtin(&mut key, Uuid::from_u128(2));
+
+ loop {
+ std::thread::sleep(Duration::from_millis(350));
+ }
+}