This is a fork of the `events` subdirectory of https://github.com/ARMmbed/mbed-os

Dependents:   HelloWorld_CCA01M1 HelloWorld_CCA02M1 CI-data-logger-server HelloWorld_CCA02M1 ... more

This is a fork of the events subdirectory of https://github.com/ARMmbed/mbed-os.

Note, you must import this library with import name: events!!!

Committer:
Seppo Takalo
Date:
Mon Oct 03 14:40:33 2016 +0300
Revision:
201:dd058cec5f28
Squashed 'features/FEATURE_COMMON_PAL/mbed-trace/' content from commit b17e969

git-subtree-dir: features/FEATURE_COMMON_PAL/mbed-trace
git-subtree-split: b17e96970777cdc61ba143bdd6ffc7b640aa6311

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Seppo Takalo 201:dd058cec5f28 1 Apache License
Seppo Takalo 201:dd058cec5f28 2 Version 2.0, January 2004
Seppo Takalo 201:dd058cec5f28 3 http://www.apache.org/licenses/
Seppo Takalo 201:dd058cec5f28 4
Seppo Takalo 201:dd058cec5f28 5 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
Seppo Takalo 201:dd058cec5f28 6
Seppo Takalo 201:dd058cec5f28 7 1. Definitions.
Seppo Takalo 201:dd058cec5f28 8
Seppo Takalo 201:dd058cec5f28 9 "License" shall mean the terms and conditions for use, reproduction,
Seppo Takalo 201:dd058cec5f28 10 and distribution as defined by Sections 1 through 9 of this document.
Seppo Takalo 201:dd058cec5f28 11
Seppo Takalo 201:dd058cec5f28 12 "Licensor" shall mean the copyright owner or entity authorized by
Seppo Takalo 201:dd058cec5f28 13 the copyright owner that is granting the License.
Seppo Takalo 201:dd058cec5f28 14
Seppo Takalo 201:dd058cec5f28 15 "Legal Entity" shall mean the union of the acting entity and all
Seppo Takalo 201:dd058cec5f28 16 other entities that control, are controlled by, or are under common
Seppo Takalo 201:dd058cec5f28 17 control with that entity. For the purposes of this definition,
Seppo Takalo 201:dd058cec5f28 18 "control" means (i) the power, direct or indirect, to cause the
Seppo Takalo 201:dd058cec5f28 19 direction or management of such entity, whether by contract or
Seppo Takalo 201:dd058cec5f28 20 otherwise, or (ii) ownership of fifty percent (50%) or more of the
Seppo Takalo 201:dd058cec5f28 21 outstanding shares, or (iii) beneficial ownership of such entity.
Seppo Takalo 201:dd058cec5f28 22
Seppo Takalo 201:dd058cec5f28 23 "You" (or "Your") shall mean an individual or Legal Entity
Seppo Takalo 201:dd058cec5f28 24 exercising permissions granted by this License.
Seppo Takalo 201:dd058cec5f28 25
Seppo Takalo 201:dd058cec5f28 26 "Source" form shall mean the preferred form for making modifications,
Seppo Takalo 201:dd058cec5f28 27 including but not limited to software source code, documentation
Seppo Takalo 201:dd058cec5f28 28 source, and configuration files.
Seppo Takalo 201:dd058cec5f28 29
Seppo Takalo 201:dd058cec5f28 30 "Object" form shall mean any form resulting from mechanical
Seppo Takalo 201:dd058cec5f28 31 transformation or translation of a Source form, including but
Seppo Takalo 201:dd058cec5f28 32 not limited to compiled object code, generated documentation,
Seppo Takalo 201:dd058cec5f28 33 and conversions to other media types.
Seppo Takalo 201:dd058cec5f28 34
Seppo Takalo 201:dd058cec5f28 35 "Work" shall mean the work of authorship, whether in Source or
Seppo Takalo 201:dd058cec5f28 36 Object form, made available under the License, as indicated by a
Seppo Takalo 201:dd058cec5f28 37 copyright notice that is included in or attached to the work
Seppo Takalo 201:dd058cec5f28 38 (an example is provided in the Appendix below).
Seppo Takalo 201:dd058cec5f28 39
Seppo Takalo 201:dd058cec5f28 40 "Derivative Works" shall mean any work, whether in Source or Object
Seppo Takalo 201:dd058cec5f28 41 form, that is based on (or derived from) the Work and for which the
Seppo Takalo 201:dd058cec5f28 42 editorial revisions, annotations, elaborations, or other modifications
Seppo Takalo 201:dd058cec5f28 43 represent, as a whole, an original work of authorship. For the purposes
Seppo Takalo 201:dd058cec5f28 44 of this License, Derivative Works shall not include works that remain
Seppo Takalo 201:dd058cec5f28 45 separable from, or merely link (or bind by name) to the interfaces of,
Seppo Takalo 201:dd058cec5f28 46 the Work and Derivative Works thereof.
Seppo Takalo 201:dd058cec5f28 47
Seppo Takalo 201:dd058cec5f28 48 "Contribution" shall mean any work of authorship, including
Seppo Takalo 201:dd058cec5f28 49 the original version of the Work and any modifications or additions
Seppo Takalo 201:dd058cec5f28 50 to that Work or Derivative Works thereof, that is intentionally
Seppo Takalo 201:dd058cec5f28 51 submitted to Licensor for inclusion in the Work by the copyright owner
Seppo Takalo 201:dd058cec5f28 52 or by an individual or Legal Entity authorized to submit on behalf of
Seppo Takalo 201:dd058cec5f28 53 the copyright owner. For the purposes of this definition, "submitted"
Seppo Takalo 201:dd058cec5f28 54 means any form of electronic, verbal, or written communication sent
Seppo Takalo 201:dd058cec5f28 55 to the Licensor or its representatives, including but not limited to
Seppo Takalo 201:dd058cec5f28 56 communication on electronic mailing lists, source code control systems,
Seppo Takalo 201:dd058cec5f28 57 and issue tracking systems that are managed by, or on behalf of, the
Seppo Takalo 201:dd058cec5f28 58 Licensor for the purpose of discussing and improving the Work, but
Seppo Takalo 201:dd058cec5f28 59 excluding communication that is conspicuously marked or otherwise
Seppo Takalo 201:dd058cec5f28 60 designated in writing by the copyright owner as "Not a Contribution."
Seppo Takalo 201:dd058cec5f28 61
Seppo Takalo 201:dd058cec5f28 62 "Contributor" shall mean Licensor and any individual or Legal Entity
Seppo Takalo 201:dd058cec5f28 63 on behalf of whom a Contribution has been received by Licensor and
Seppo Takalo 201:dd058cec5f28 64 subsequently incorporated within the Work.
Seppo Takalo 201:dd058cec5f28 65
Seppo Takalo 201:dd058cec5f28 66 2. Grant of Copyright License. Subject to the terms and conditions of
Seppo Takalo 201:dd058cec5f28 67 this License, each Contributor hereby grants to You a perpetual,
Seppo Takalo 201:dd058cec5f28 68 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
Seppo Takalo 201:dd058cec5f28 69 copyright license to reproduce, prepare Derivative Works of,
Seppo Takalo 201:dd058cec5f28 70 publicly display, publicly perform, sublicense, and distribute the
Seppo Takalo 201:dd058cec5f28 71 Work and such Derivative Works in Source or Object form.
Seppo Takalo 201:dd058cec5f28 72
Seppo Takalo 201:dd058cec5f28 73 3. Grant of Patent License. Subject to the terms and conditions of
Seppo Takalo 201:dd058cec5f28 74 this License, each Contributor hereby grants to You a perpetual,
Seppo Takalo 201:dd058cec5f28 75 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
Seppo Takalo 201:dd058cec5f28 76 (except as stated in this section) patent license to make, have made,
Seppo Takalo 201:dd058cec5f28 77 use, offer to sell, sell, import, and otherwise transfer the Work,
Seppo Takalo 201:dd058cec5f28 78 where such license applies only to those patent claims licensable
Seppo Takalo 201:dd058cec5f28 79 by such Contributor that are necessarily infringed by their
Seppo Takalo 201:dd058cec5f28 80 Contribution(s) alone or by combination of their Contribution(s)
Seppo Takalo 201:dd058cec5f28 81 with the Work to which such Contribution(s) was submitted. If You
Seppo Takalo 201:dd058cec5f28 82 institute patent litigation against any entity (including a
Seppo Takalo 201:dd058cec5f28 83 cross-claim or counterclaim in a lawsuit) alleging that the Work
Seppo Takalo 201:dd058cec5f28 84 or a Contribution incorporated within the Work constitutes direct
Seppo Takalo 201:dd058cec5f28 85 or contributory patent infringement, then any patent licenses
Seppo Takalo 201:dd058cec5f28 86 granted to You under this License for that Work shall terminate
Seppo Takalo 201:dd058cec5f28 87 as of the date such litigation is filed.
Seppo Takalo 201:dd058cec5f28 88
Seppo Takalo 201:dd058cec5f28 89 4. Redistribution. You may reproduce and distribute copies of the
Seppo Takalo 201:dd058cec5f28 90 Work or Derivative Works thereof in any medium, with or without
Seppo Takalo 201:dd058cec5f28 91 modifications, and in Source or Object form, provided that You
Seppo Takalo 201:dd058cec5f28 92 meet the following conditions:
Seppo Takalo 201:dd058cec5f28 93
Seppo Takalo 201:dd058cec5f28 94 (a) You must give any other recipients of the Work or
Seppo Takalo 201:dd058cec5f28 95 Derivative Works a copy of this License; and
Seppo Takalo 201:dd058cec5f28 96
Seppo Takalo 201:dd058cec5f28 97 (b) You must cause any modified files to carry prominent notices
Seppo Takalo 201:dd058cec5f28 98 stating that You changed the files; and
Seppo Takalo 201:dd058cec5f28 99
Seppo Takalo 201:dd058cec5f28 100 (c) You must retain, in the Source form of any Derivative Works
Seppo Takalo 201:dd058cec5f28 101 that You distribute, all copyright, patent, trademark, and
Seppo Takalo 201:dd058cec5f28 102 attribution notices from the Source form of the Work,
Seppo Takalo 201:dd058cec5f28 103 excluding those notices that do not pertain to any part of
Seppo Takalo 201:dd058cec5f28 104 the Derivative Works; and
Seppo Takalo 201:dd058cec5f28 105
Seppo Takalo 201:dd058cec5f28 106 (d) If the Work includes a "NOTICE" text file as part of its
Seppo Takalo 201:dd058cec5f28 107 distribution, then any Derivative Works that You distribute must
Seppo Takalo 201:dd058cec5f28 108 include a readable copy of the attribution notices contained
Seppo Takalo 201:dd058cec5f28 109 within such NOTICE file, excluding those notices that do not
Seppo Takalo 201:dd058cec5f28 110 pertain to any part of the Derivative Works, in at least one
Seppo Takalo 201:dd058cec5f28 111 of the following places: within a NOTICE text file distributed
Seppo Takalo 201:dd058cec5f28 112 as part of the Derivative Works; within the Source form or
Seppo Takalo 201:dd058cec5f28 113 documentation, if provided along with the Derivative Works; or,
Seppo Takalo 201:dd058cec5f28 114 within a display generated by the Derivative Works, if and
Seppo Takalo 201:dd058cec5f28 115 wherever such third-party notices normally appear. The contents
Seppo Takalo 201:dd058cec5f28 116 of the NOTICE file are for informational purposes only and
Seppo Takalo 201:dd058cec5f28 117 do not modify the License. You may add Your own attribution
Seppo Takalo 201:dd058cec5f28 118 notices within Derivative Works that You distribute, alongside
Seppo Takalo 201:dd058cec5f28 119 or as an addendum to the NOTICE text from the Work, provided
Seppo Takalo 201:dd058cec5f28 120 that such additional attribution notices cannot be construed
Seppo Takalo 201:dd058cec5f28 121 as modifying the License.
Seppo Takalo 201:dd058cec5f28 122
Seppo Takalo 201:dd058cec5f28 123 You may add Your own copyright statement to Your modifications and
Seppo Takalo 201:dd058cec5f28 124 may provide additional or different license terms and conditions
Seppo Takalo 201:dd058cec5f28 125 for use, reproduction, or distribution of Your modifications, or
Seppo Takalo 201:dd058cec5f28 126 for any such Derivative Works as a whole, provided Your use,
Seppo Takalo 201:dd058cec5f28 127 reproduction, and distribution of the Work otherwise complies with
Seppo Takalo 201:dd058cec5f28 128 the conditions stated in this License.
Seppo Takalo 201:dd058cec5f28 129
Seppo Takalo 201:dd058cec5f28 130 5. Submission of Contributions. Unless You explicitly state otherwise,
Seppo Takalo 201:dd058cec5f28 131 any Contribution intentionally submitted for inclusion in the Work
Seppo Takalo 201:dd058cec5f28 132 by You to the Licensor shall be under the terms and conditions of
Seppo Takalo 201:dd058cec5f28 133 this License, without any additional terms or conditions.
Seppo Takalo 201:dd058cec5f28 134 Notwithstanding the above, nothing herein shall supersede or modify
Seppo Takalo 201:dd058cec5f28 135 the terms of any separate license agreement you may have executed
Seppo Takalo 201:dd058cec5f28 136 with Licensor regarding such Contributions.
Seppo Takalo 201:dd058cec5f28 137
Seppo Takalo 201:dd058cec5f28 138 6. Trademarks. This License does not grant permission to use the trade
Seppo Takalo 201:dd058cec5f28 139 names, trademarks, service marks, or product names of the Licensor,
Seppo Takalo 201:dd058cec5f28 140 except as required for reasonable and customary use in describing the
Seppo Takalo 201:dd058cec5f28 141 origin of the Work and reproducing the content of the NOTICE file.
Seppo Takalo 201:dd058cec5f28 142
Seppo Takalo 201:dd058cec5f28 143 7. Disclaimer of Warranty. Unless required by applicable law or
Seppo Takalo 201:dd058cec5f28 144 agreed to in writing, Licensor provides the Work (and each
Seppo Takalo 201:dd058cec5f28 145 Contributor provides its Contributions) on an "AS IS" BASIS,
Seppo Takalo 201:dd058cec5f28 146 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
Seppo Takalo 201:dd058cec5f28 147 implied, including, without limitation, any warranties or conditions
Seppo Takalo 201:dd058cec5f28 148 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
Seppo Takalo 201:dd058cec5f28 149 PARTICULAR PURPOSE. You are solely responsible for determining the
Seppo Takalo 201:dd058cec5f28 150 appropriateness of using or redistributing the Work and assume any
Seppo Takalo 201:dd058cec5f28 151 risks associated with Your exercise of permissions under this License.
Seppo Takalo 201:dd058cec5f28 152
Seppo Takalo 201:dd058cec5f28 153 8. Limitation of Liability. In no event and under no legal theory,
Seppo Takalo 201:dd058cec5f28 154 whether in tort (including negligence), contract, or otherwise,
Seppo Takalo 201:dd058cec5f28 155 unless required by applicable law (such as deliberate and grossly
Seppo Takalo 201:dd058cec5f28 156 negligent acts) or agreed to in writing, shall any Contributor be
Seppo Takalo 201:dd058cec5f28 157 liable to You for damages, including any direct, indirect, special,
Seppo Takalo 201:dd058cec5f28 158 incidental, or consequential damages of any character arising as a
Seppo Takalo 201:dd058cec5f28 159 result of this License or out of the use or inability to use the
Seppo Takalo 201:dd058cec5f28 160 Work (including but not limited to damages for loss of goodwill,
Seppo Takalo 201:dd058cec5f28 161 work stoppage, computer failure or malfunction, or any and all
Seppo Takalo 201:dd058cec5f28 162 other commercial damages or losses), even if such Contributor
Seppo Takalo 201:dd058cec5f28 163 has been advised of the possibility of such damages.
Seppo Takalo 201:dd058cec5f28 164
Seppo Takalo 201:dd058cec5f28 165 9. Accepting Warranty or Additional Liability. While redistributing
Seppo Takalo 201:dd058cec5f28 166 the Work or Derivative Works thereof, You may choose to offer,
Seppo Takalo 201:dd058cec5f28 167 and charge a fee for, acceptance of support, warranty, indemnity,
Seppo Takalo 201:dd058cec5f28 168 or other liability obligations and/or rights consistent with this
Seppo Takalo 201:dd058cec5f28 169 License. However, in accepting such obligations, You may act only
Seppo Takalo 201:dd058cec5f28 170 on Your own behalf and on Your sole responsibility, not on behalf
Seppo Takalo 201:dd058cec5f28 171 of any other Contributor, and only if You agree to indemnify,
Seppo Takalo 201:dd058cec5f28 172 defend, and hold each Contributor harmless for any liability
Seppo Takalo 201:dd058cec5f28 173 incurred by, or claims asserted against, such Contributor by reason
Seppo Takalo 201:dd058cec5f28 174 of your accepting any such warranty or additional liability.
Seppo Takalo 201:dd058cec5f28 175
Seppo Takalo 201:dd058cec5f28 176 END OF TERMS AND CONDITIONS
Seppo Takalo 201:dd058cec5f28 177
Seppo Takalo 201:dd058cec5f28 178 APPENDIX: How to apply the Apache License to your work.
Seppo Takalo 201:dd058cec5f28 179
Seppo Takalo 201:dd058cec5f28 180 To apply the Apache License to your work, attach the following
Seppo Takalo 201:dd058cec5f28 181 boilerplate notice, with the fields enclosed by brackets "{}"
Seppo Takalo 201:dd058cec5f28 182 replaced with your own identifying information. (Don't include
Seppo Takalo 201:dd058cec5f28 183 the brackets!) The text should be enclosed in the appropriate
Seppo Takalo 201:dd058cec5f28 184 comment syntax for the file format. We also recommend that a
Seppo Takalo 201:dd058cec5f28 185 file or class name and description of purpose be included on the
Seppo Takalo 201:dd058cec5f28 186 same "printed page" as the copyright notice for easier
Seppo Takalo 201:dd058cec5f28 187 identification within third-party archives.
Seppo Takalo 201:dd058cec5f28 188
Seppo Takalo 201:dd058cec5f28 189 Copyright {yyyy} {name of copyright owner}
Seppo Takalo 201:dd058cec5f28 190
Seppo Takalo 201:dd058cec5f28 191 Licensed under the Apache License, Version 2.0 (the "License");
Seppo Takalo 201:dd058cec5f28 192 you may not use this file except in compliance with the License.
Seppo Takalo 201:dd058cec5f28 193 You may obtain a copy of the License at
Seppo Takalo 201:dd058cec5f28 194
Seppo Takalo 201:dd058cec5f28 195 http://www.apache.org/licenses/LICENSE-2.0
Seppo Takalo 201:dd058cec5f28 196
Seppo Takalo 201:dd058cec5f28 197 Unless required by applicable law or agreed to in writing, software
Seppo Takalo 201:dd058cec5f28 198 distributed under the License is distributed on an "AS IS" BASIS,
Seppo Takalo 201:dd058cec5f28 199 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Seppo Takalo 201:dd058cec5f28 200 See the License for the specific language governing permissions and
Seppo Takalo 201:dd058cec5f28 201 limitations under the License.