Skip to content

Condvar::wait_timeout not supported #132

@mkroening

Description

@mkroening

@stlankes, in hermit-os/kernel@6cfaee1 for #117 you introduced sys_block_current_task_with_timeout.

I had a look at using std::thread::park_timeout instead. It's implemented using std::sync::Condvar::wait_timeout which is currently not supported on hermit (rust-lang/rust/library/std/src/sys/hermit/condvar.rs).

Do you think, it would be worth the time to add support and go that route instead?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions