diff options
author | David Reiss <dreiss@apache.org> | 2009-03-30 21:35:00 +0000 |
---|---|---|
committer | David Reiss <dreiss@apache.org> | 2009-03-30 21:35:00 +0000 |
commit | ea2cba8ba8484a8d4e669c02dd97b3b2445ef322 (patch) | |
tree | 6be4a3bf2d069a006c9a15f5ee47a1893a176f4d /test/threads | |
parent | 4bc4231040186d9e0c35ff4d8211ce7b7e43aab5 (diff) | |
download | thrift-ea2cba8ba8484a8d4e669c02dd97b3b2445ef322.tar.gz |
THRIFT-387. Add license headers to a bunch of files
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@760189 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/threads')
-rw-r--r-- | test/threads/Makefile | 20 | ||||
-rw-r--r-- | test/threads/ThreadsClient.cpp | 19 | ||||
-rw-r--r-- | test/threads/ThreadsServer.cpp | 19 | ||||
-rw-r--r-- | test/threads/ThreadsTest.thrift | 19 |
4 files changed, 74 insertions, 3 deletions
diff --git a/test/threads/Makefile b/test/threads/Makefile index fb133a06b..14f1a5890 100644 --- a/test/threads/Makefile +++ b/test/threads/Makefile @@ -1,7 +1,21 @@ -# Makefile for Thrift test project. # -# Author: -# Mark Slee <mcslee@facebook.com> +# 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. +# # Default target is everything diff --git a/test/threads/ThreadsClient.cpp b/test/threads/ThreadsClient.cpp index 24a1540f5..85274a632 100644 --- a/test/threads/ThreadsClient.cpp +++ b/test/threads/ThreadsClient.cpp @@ -1,3 +1,22 @@ +/* + * 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. + */ + // This autogenerated skeleton file illustrates how to build a server. // You should copy it to another filename to avoid overwriting it. diff --git a/test/threads/ThreadsServer.cpp b/test/threads/ThreadsServer.cpp index c4ce2c99d..8734ee893 100644 --- a/test/threads/ThreadsServer.cpp +++ b/test/threads/ThreadsServer.cpp @@ -1,3 +1,22 @@ +/* + * 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. + */ + // This autogenerated skeleton file illustrates how to build a server. // You should copy it to another filename to avoid overwriting it. diff --git a/test/threads/ThreadsTest.thrift b/test/threads/ThreadsTest.thrift index 45df6a4ac..caa934605 100644 --- a/test/threads/ThreadsTest.thrift +++ b/test/threads/ThreadsTest.thrift @@ -1,3 +1,22 @@ +/* + * 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. + */ + service ThreadsTest { i32 threadOne(1: i32 sleep=15), i32 threadTwo(2: i32 sleep=15), |