mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-15 21:58:24 +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
@ -47,6 +47,5 @@ void Timer::Time_source::_usleep(uint64_t us)
|
||||
ts.tv_sec = (long)us / (1000 * 1000);
|
||||
ts.tv_nsec = ((long)us % (1000 * 1000)) * 1000;
|
||||
|
||||
if (lx_nanosleep(&ts, &ts) != 0)
|
||||
throw Blocking_canceled();
|
||||
lx_nanosleep(&ts, &ts);
|
||||
}
|
||||
|
Reference in New Issue
Block a user