projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mem: Fix memory allocation bug in deferred snoop handling
[gem5.git]
/
src
/
base
/
socket.hh
diff --git
a/src/base/socket.hh
b/src/base/socket.hh
index 8e55eae721f88ae6fa41950c3490e78da87c5fd4..942318e45a8d2b70098678536abf8f4fd4aaa9ff 100644
(file)
--- a/
src/base/socket.hh
+++ b/
src/base/socket.hh
@@
-33,6
+33,14
@@
class ListenSocket
{
+ protected:
+ static bool listeningDisabled;
+ static bool anyListening;
+
+ public:
+ static void disableAll();
+ static bool allDisabled();
+
protected:
bool listening;
int fd;