1.1 --- a/libfsserver/include/fsserver/pipe_paging.h Fri Mar 24 00:46:26 2023 +0100
1.2 +++ b/libfsserver/include/fsserver/pipe_paging.h Fri Mar 24 16:14:44 2023 +0100
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * A pipe paging coordinator, permitting memory sharing pipe endpoints.
1.6 *
1.7 - * Copyright (C) 2021 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2021, 2023 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This program is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License as
1.12 @@ -21,6 +21,7 @@
1.13
1.14 #pragma once
1.15
1.16 +#include <mutex>
1.17 #include <set>
1.18
1.19 #include <fsserver/notification.h>
1.20 @@ -39,6 +40,7 @@
1.21 Memory *_memory;
1.22 Pages *_pages;
1.23 PageQueue *_queue;
1.24 + std::mutex _lock;
1.25
1.26 /* Regions acting as files with their own accessors. */
1.27