Skip to content

Commit 40e50bf

Browse files
author
Vytautas Astrauskas
committed
Clarify test comments.
1 parent e7b82fd commit 40e50bf

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

tests/compile-fail/concurrency/libc_pthread_join_multiple.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ignore-windows: Concurrency on Windows is not supported yet.
22

3-
// Joining the same thread multiple times is undefined behavior.
3+
// Joining the same thread from multiple threads is undefined behavior.
44

55
#![feature(rustc_private)]
66

tests/run-pass/concurrency/tls_lib_drop.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
//! Check that destructors of the library thread locals are executed immediately
44
//! after a thread terminates.
5+
//!
6+
//! FIXME: We should have a similar test for thread-local statics (statics
7+
//! annotated with `#[thread_local]`) once they support destructors.
58
69
#![feature(thread_local_internals)]
710

0 commit comments

Comments
 (0)