mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-19 23:53:55 +00:00
vfs_lwip/lwip: Lwip::lock for concurrent access
This is required in case the send and receive of IP packets is performed by multiple thread because lwip is not thread safe. issue #3568
This commit is contained in:
committed by
Christian Helmuth
parent
9812799b24
commit
9767c4db0e
@ -17,6 +17,10 @@
|
||||
#include <timer/timeout.h>
|
||||
#include <base/allocator.h>
|
||||
|
||||
namespace Lwip { void genode_init(Genode::Allocator &heap, Genode::Timeout_scheduler &timer); }
|
||||
namespace Lwip {
|
||||
void genode_init(Genode::Allocator &heap, Genode::Timeout_scheduler &timer);
|
||||
|
||||
Genode::Lock &lock();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user