block_session: turn 'Connection' into template
As a preparatory step for introducing the new block-client API, we have to turn the 'Block::Connection' into a class template. The template argument will be used to tie an application-defined job type to the block connection. Issue #3283
This commit is contained in:
committed by
Christian Helmuth
parent
6c0dd9fe3b
commit
e5f27b44b5
@@ -30,7 +30,7 @@ class Backend
|
||||
private:
|
||||
|
||||
Genode::Allocator_avl _alloc { &Rump::env().heap() };
|
||||
Block::Connection _session { Rump::env().env(), &_alloc };
|
||||
Block::Connection<> _session { Rump::env().env(), &_alloc };
|
||||
Block::Session::Info _info { _session.info() };
|
||||
Genode::Lock _session_lock;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user