mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 18:56:29 +00:00
thread test: handle capability ref-count overflow
Triggered by the create-as-many-threads test as it tries to create as many threads as possible. Ref #2120
This commit is contained in:
parent
99f18a2fe6
commit
82443ddee6
@ -312,6 +312,8 @@ static void test_create_as_many_threads(Env &env)
|
||||
throw "Thread_creation_failed";
|
||||
} catch (Thread::Out_of_stack_space) {
|
||||
throw "Out_of_stack_space";
|
||||
} catch (Genode::Native_capability::Reference_count_overflow) {
|
||||
throw "Native_capability::Reference_count_overflow";
|
||||
}
|
||||
}
|
||||
} catch (const char * ex) {
|
||||
|
Loading…
Reference in New Issue
Block a user