Skip to content

Commit

Permalink
fixup! refactor(debug)!: refactor handling of the exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
ROMemories committed Dec 12, 2024
1 parent c7a6263 commit c66c056
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/threading-channel/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![no_std]
#![feature(used_with_arg)]

use ariel_os::debug::{log::*, EXIT_SUCCESS};
use ariel_os::debug::{log::*, ExitCode};
use ariel_os::thread::sync::Channel;

static CHANNEL: Channel<u8> = Channel::new();
Expand All @@ -24,5 +24,5 @@ fn thread1() {
my_id,
recv
);
ariel_os::debug::exit(EXIT_SUCCESS);
ariel_os::debug::exit(ExitCode::SUCCESS);
}

0 comments on commit c66c056

Please sign in to comment.