libc-plugin: make fd allocator thread safe

issue #2488
This commit is contained in:
Sebastian Sumpf
2017-08-15 18:32:40 +02:00
committed by Christian Helmuth
parent 17df52bfbd
commit 61ae2e5b80
2 changed files with 8 additions and 0 deletions

View File

@ -68,6 +68,10 @@ namespace Libc {
class File_descriptor_allocator : Allocator_avl_tpl<File_descriptor>
{
private:
Genode::Lock _lock;
public:
/**