Skip to content

Commit

Permalink
Clarified names a bit more
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasper-Bekkers authored and 0xpr03 committed Feb 14, 2022
1 parent ec249d9 commit 59efaa2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/fsevent.rs
Expand Up @@ -433,7 +433,7 @@ impl FsEventWatcher {
let (rl_tx, rl_rx) = unbounded();

let thread_handle = thread::Builder::new()
.name("notify-rs fsevents".to_string())
.name("notify-rs fsevents loop".to_string())
.spawn(move || {
let stream = stream.0;

Expand Down
2 changes: 1 addition & 1 deletion src/inotify.rs
Expand Up @@ -129,7 +129,7 @@ impl EventLoop {
// Run the event loop.
pub fn run(self) {
let _ = thread::Builder::new()
.name("notify-rs inotify".to_string())
.name("notify-rs inotify loop".to_string())
.spawn(|| self.event_loop_thread());
}

Expand Down
2 changes: 1 addition & 1 deletion src/kqueue.rs
Expand Up @@ -77,7 +77,7 @@ impl EventLoop {
// Run the event loop.
pub fn run(self) {
let _ = thread::Builder::new()
.name("notify-rs kqueue".to_string())
.name("notify-rs kqueue loop".to_string())
.spawn(|| self.event_loop_thread());
}

Expand Down
2 changes: 1 addition & 1 deletion src/poll.rs
Expand Up @@ -77,7 +77,7 @@ impl PollWatcher {
let event_handler = move |res| emit_event(&event_handler, res);

let _ = thread::Builder::new()
.name("notify-rs poll".to_string())
.name("notify-rs poll loop".to_string())
.spawn(move || {
// In order of priority:
// TODO: handle metadata events
Expand Down
2 changes: 1 addition & 1 deletion src/windows.rs
Expand Up @@ -85,7 +85,7 @@ impl ReadDirectoryChangesServer {
// it is, in fact, ok to send the semaphore across threads
let sem_temp = wakeup_sem as u64;
let _ = thread::Builder::new()
.name("notify-rs windows".to_string())
.name("notify-rs windows loop".to_string())
.spawn(move || {
let wakeup_sem = sem_temp as HANDLE;
let server = ReadDirectoryChangesServer {
Expand Down

0 comments on commit 59efaa2

Please sign in to comment.