diff options
Diffstat (limited to 's/request.h')
-rw-r--r-- | s/request.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/s/request.h b/s/request.h index 689216c..2c02724 100644 --- a/s/request.h +++ b/s/request.h @@ -1,4 +1,20 @@ // request.h +/* + * Copyright (C) 2010 10gen Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, version 3, + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + #pragma once @@ -111,7 +127,7 @@ namespace mongo { set<string> * _prev; int _lastAccess; - static boost::mutex _clientsLock; + static mongo::mutex _clientsLock; static ClientCache _clients; static boost::thread_specific_ptr<ClientInfo> _tlInfo; }; |