db/DatabasePlugin: add #EventLoop parameter documentation

This commit is contained in:
Max Kellermann
2017-08-24 19:45:23 +02:00
parent 0b93f52ba4
commit 7e76656a18
5 changed files with 20 additions and 9 deletions

View File

@@ -46,8 +46,12 @@ struct DatabasePlugin {
* Allocates and configures a database.
*
* Throws #std::runtime_error on error.
*
* @param main_event_loop the #EventLoop running in the same
* thread which invokes #Database methods
*/
Database *(*create)(EventLoop &loop, DatabaseListener &listener,
Database *(*create)(EventLoop &main_event_loop,
DatabaseListener &listener,
const ConfigBlock &block);
constexpr bool RequireStorage() const {