mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
Fix data race with calling run_state::network_time from a separate thread
This commit is contained in:
parent
458bf762f1
commit
8b9fe48f13
2 changed files with 6 additions and 5 deletions
|
@ -77,8 +77,10 @@ public:
|
|||
* Runs an expire operation on all open backends. This is called by the expiration
|
||||
* timer and shouldn't be called directly otherwise, since it should only happen on a
|
||||
* separate thread.
|
||||
*
|
||||
* @param t The network time that the expiration started.
|
||||
*/
|
||||
void Expire();
|
||||
void Expire(double t);
|
||||
|
||||
protected:
|
||||
friend class storage::detail::ExpirationTimer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue