Content-Length: 266123 | pFad | https://github.com/model-checking/verify-rust-std/commit/ea7e91c635772c8259d94ff2d1a1bc54df7b5917

2C Let compiler auto impl `Send` for `Task` · model-checking/verify-rust-std@ea7e91c · GitHub
Skip to content

Commit ea7e91c

Browse files
committed
Let compiler auto impl Send for Task
1 parent 55f3d10 commit ea7e91c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

std/src/sys/pal/sgx/thread.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ mod task_queue {
3232
done: JoinNotifier,
3333
}
3434

35-
unsafe impl Send for Task {}
36-
3735
impl Task {
3836
pub(super) fn new(p: Box<dyn FnOnce() + Send>) -> (Task, JoinHandle) {
3937
let (done, recv) = wait_notify::new();

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/model-checking/verify-rust-std/commit/ea7e91c635772c8259d94ff2d1a1bc54df7b5917

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy