Remove unnecessary fixme

As the FIXME itself notes, there's nothing to fix here.
This commit is contained in:
Chris Denton 2024-03-06 15:34:33 +00:00
parent 3314d5ce4c
commit 8cd7aaa105
No known key found for this signature in database
GPG Key ID: 713472F2F45627DE

View File

@ -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,