From 0ab87296f3626007ad27fd1a59cf9abff6e9482b Mon Sep 17 00:00:00 2001 From: Pixel Date: Fri, 13 Nov 2009 18:18:48 -0800 Subject: BigClean: adding a round of thread netsafes. --- include/Action.h | 2 +- include/Domain.h | 2 ++ include/MailServer.h | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/Action.h b/include/Action.h index ad71566..2d0e3c0 100644 --- a/include/Action.h +++ b/include/Action.h @@ -77,7 +77,7 @@ class Action : public Base { String URL; bool hastoclean, accessed; HtmlSkinner * skin; - iLock lock; + static iLock lock; }; #endif diff --git a/include/Domain.h b/include/Domain.h index 9cd8483..7276ade 100644 --- a/include/Domain.h +++ b/include/Domain.h @@ -22,6 +22,7 @@ #include #include +#include class Domain : public Base { public: @@ -38,6 +39,7 @@ class Domain : public Base { static Domain * head; Domain * next, * prev; Regex pattern; + static iLock lock; }; #endif diff --git a/include/MailServer.h b/include/MailServer.h index f3444b6..e931671 100644 --- a/include/MailServer.h +++ b/include/MailServer.h @@ -27,6 +27,7 @@ #include #include #include +#include class MailHandler : public Base { public: @@ -38,6 +39,7 @@ class MailHandler : public Base { private: static MailHandler * head; MailHandler * next, * prev; + static iLock lock; }; class MailServer : public Task { -- cgit v1.2.3