Skip to content

Commit

Permalink
Thread stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
terrarier2111 committed Jul 20, 2023
1 parent eeaac1b commit b2b62cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/thread_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ cfg_if::cfg_if! {
unsafe {
*THREAD.get() = new;
}
THREAD_GUARD.with(|guard| guard.id.set(new.id()));
THREAD_GUARD.with(|guard| guardid.set(new.thread.id()));
new.thread
}
} else {
Expand Down

0 comments on commit b2b62cb

Please sign in to comment.