Skip to content

Commit

Permalink
Remove unnecessary fixme
Browse files Browse the repository at this point in the history
As the FIXME itself notes, there's nothing to fix here.
  • Loading branch information
ChrisDenton committed Mar 6, 2024
1 parent 3314d5c commit 8cd7aaa
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions library/std/src/sys/pal/windows/thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ impl Thread {
pub unsafe fn new(stack: usize, p: Box<dyn FnOnce()>) -> io::Result<Thread> {
let p = Box::into_raw(Box::new(p));

// FIXME On UNIX, we guard against stack sizes that are too small but
// that's because pthreads enforces that stacks are at least
// PTHREAD_STACK_MIN bytes big. Windows has no such lower limit, it's
// just that below a certain threshold you can't do anything useful.
// That threshold is application and architecture-specific, however.
let ret = c::CreateThread(
ptr::null_mut(),
stack,
Expand Down

0 comments on commit 8cd7aaa

Please sign in to comment.