db/DatabasePlugin: pass EventThread's EventLoop to create()
Allows database plugins to use the EventThread, e.g. for CURL integration.
This commit is contained in:
@@ -49,8 +49,11 @@ struct DatabasePlugin {
|
||||
*
|
||||
* @param main_event_loop the #EventLoop running in the same
|
||||
* thread which invokes #Database methods
|
||||
* @param io_event_loop the #EventLoop running on the
|
||||
* #EventThread, i.e. the one used for background I/O
|
||||
*/
|
||||
Database *(*create)(EventLoop &main_event_loop,
|
||||
EventLoop &io_event_loop,
|
||||
DatabaseListener &listener,
|
||||
const ConfigBlock &block);
|
||||
|
||||
|
Reference in New Issue
Block a user