mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-17 06:38:28 +00:00
base: remove base/blocking.h
This patch removes the obsolete exception type 'Blocking_canceled'. Issue #4768
This commit is contained in:
committed by
Christian Helmuth
parent
32f9d1fceb
commit
356506a67a
@ -36,8 +36,7 @@ Timer::Time_source::_wait_for_irq()
|
||||
while (_next_timeout_us > 0) {
|
||||
_mutex.release();
|
||||
|
||||
try { _usleep(SLEEP_GRANULARITY_US); }
|
||||
catch (Blocking_canceled) { }
|
||||
_usleep(SLEEP_GRANULARITY_US);
|
||||
|
||||
uint64_t curr_time_us = curr_time().trunc_to_plain_us().value;
|
||||
uint64_t sleep_duration_us = curr_time_us - last_time_us;
|
||||
|
Reference in New Issue
Block a user