Skip to content

Commit d2a690b

Browse files
committed
libs: Note lack of concurrency support (see #238)
1 parent bfd8c96 commit d2a690b

File tree

1 file changed

+8
-0
lines changed
  • libs/std/src/sys/sync/thread_parking

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
1+
// For crucible-mir's benefit, we always use unsupported::Parker, which
2+
// implements all thread-parking functions as no-ops. This is arguably too
3+
// simplistic, as this skips calling operations that could trigger a context
4+
// switch in concurrent programs. Although crux-mir does have some support for
5+
// modeling this sort of concurrency, it has since bitrotted. (See #238.) If
6+
// this concurrency support is revived, then we will need to revisit the
7+
// approach here.
8+
19
mod unsupported;
210
pub use unsupported::Parker;

0 commit comments

Comments
 (0)