summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-04-28 01:21:17 -0400
committerEliot Horowitz <eliot@10gen.com>2012-05-07 10:35:36 -0400
commit57ce7507c8407d002ab8f87754a180247cd7482f (patch)
treee84774ccf148209734e8955db5b224ae400c89bc
parentea480461f0ba0af13d0849f9a3427a0150e57082 (diff)
downloadmongo-57ce7507c8407d002ab8f87754a180247cd7482f.tar.gz
add copyright
-rw-r--r--src/mongo/db/d_concurrency.cpp17
-rw-r--r--src/mongo/db/d_concurrency.h18
-rw-r--r--src/mongo/db/lockstat.cpp17
-rw-r--r--src/mongo/db/lockstat.h18
-rw-r--r--src/mongo/db/lockstate.cpp17
-rw-r--r--src/mongo/db/lockstate.h17
6 files changed, 104 insertions, 0 deletions
diff --git a/src/mongo/db/d_concurrency.cpp b/src/mongo/db/d_concurrency.cpp
index d5459331d92..cd24ef46092 100644
--- a/src/mongo/db/d_concurrency.cpp
+++ b/src/mongo/db/d_concurrency.cpp
@@ -1,5 +1,22 @@
// @file d_concurrency.cpp
+/**
+* Copyright (C) 2008 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/>.
+*/
+
+
#include "pch.h"
#include "d_concurrency.h"
#include "../util/concurrency/qlock.h"
diff --git a/src/mongo/db/d_concurrency.h b/src/mongo/db/d_concurrency.h
index 4ca965acc15..080637fe46c 100644
--- a/src/mongo/db/d_concurrency.h
+++ b/src/mongo/db/d_concurrency.h
@@ -1,4 +1,22 @@
// @file d_concurrency.h
+
+/**
+* Copyright (C) 2008 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/>.
+*/
+
+
// only used by mongod, thus the name ('d')
// (also used by dbtests test binary, which is running mongod test code)
diff --git a/src/mongo/db/lockstat.cpp b/src/mongo/db/lockstat.cpp
index 4bc34d35ecb..a0c5537ac00 100644
--- a/src/mongo/db/lockstat.cpp
+++ b/src/mongo/db/lockstat.cpp
@@ -1,5 +1,22 @@
// lockstat.cpp
+/**
+* Copyright (C) 2008 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/>.
+*/
+
+
#include "mongo/pch.h"
#include "lockstat.h"
#include "mongo/db/jsobj.h"
diff --git a/src/mongo/db/lockstat.h b/src/mongo/db/lockstat.h
index 50fa3d0fe14..c65b8955773 100644
--- a/src/mongo/db/lockstat.h
+++ b/src/mongo/db/lockstat.h
@@ -1,4 +1,22 @@
// lockstat.h
+
+/**
+* Copyright (C) 2008 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
#include "util/timer.h"
diff --git a/src/mongo/db/lockstate.cpp b/src/mongo/db/lockstate.cpp
index 3ca43cc00ec..788eb4beecc 100644
--- a/src/mongo/db/lockstate.cpp
+++ b/src/mongo/db/lockstate.cpp
@@ -1,5 +1,22 @@
// lockstate.cpp
+/**
+* Copyright (C) 2008 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/>.
+*/
+
+
#include "pch.h"
#include "mongo/db/d_concurrency.h"
#include "mongo/db/namespacestring.h"
diff --git a/src/mongo/db/lockstate.h b/src/mongo/db/lockstate.h
index 1e69e8808f6..d8f9cd4ab60 100644
--- a/src/mongo/db/lockstate.h
+++ b/src/mongo/db/lockstate.h
@@ -1,5 +1,22 @@
// lockstate.h
+/**
+* Copyright (C) 2008 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
#include "mongo/db/d_concurrency.h"