You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by li...@apache.org on 2020/02/18 07:37:00 UTC

[incubator-doris] branch master updated: [util] Add Apache License 2.0 to Thread (#2928)

This is an automated email from the ASF dual-hosted git repository.

lichaoyong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 3f4e186  [util] Add Apache License 2.0 to Thread (#2928)
3f4e186 is described below

commit 3f4e18633d651bc9af0b7ced8a1f208e71ca97fb
Author: lichaoyong <li...@baidu.com>
AuthorDate: Tue Feb 18 15:36:49 2020 +0800

    [util] Add Apache License 2.0 to Thread (#2928)
---
 be/src/util/question   |  3 ---
 be/src/util/thread.cpp | 17 +++++++++++++++++
 be/src/util/thread.h   | 16 ++++++++++++++++
 3 files changed, 33 insertions(+), 3 deletions(-)

diff --git a/be/src/util/question b/be/src/util/question
deleted file mode 100644
index 24aef98..0000000
--- a/be/src/util/question
+++ /dev/null
@@ -1,3 +0,0 @@
-Regression race of lock
-timeout of condition_variable
-deadlock
diff --git a/be/src/util/thread.cpp b/be/src/util/thread.cpp
index 9bec08a..c4b5493 100644
--- a/be/src/util/thread.cpp
+++ b/be/src/util/thread.cpp
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
 #include "thread.h"
 
 #include <unistd.h>
diff --git a/be/src/util/thread.h b/be/src/util/thread.h
index d9a6cd7..a7328e4 100644
--- a/be/src/util/thread.h
+++ b/be/src/util/thread.h
@@ -1,3 +1,19 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
 
 #ifndef DORIS_BE_SRC_UTIL_THREAD_H
 #define DORIS_BE_SRC_UTIL_THREAD_H


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org