mirror of
https://github.com/openvswitch/ovs
synced 2025-10-25 15:07:05 +00:00
fatal-signal: Make thread-safe.
Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2008, 2009, 2010 Nicira, Inc.
|
||||
* Copyright (c) 2008, 2009, 2010, 2013 Nicira, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <stdbool.h>
|
||||
|
||||
/* Basic interface. */
|
||||
void fatal_signal_init(void);
|
||||
void fatal_signal_add_hook(void (*hook_cb)(void *aux),
|
||||
void (*cancel_cb)(void *aux), void *aux,
|
||||
bool run_at_exit);
|
||||
|
||||
Reference in New Issue
Block a user