|
| 1 | +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: |
| 2 | +All code except MPMCBoundedQueue (see below) is under MIT license. |
| 3 | +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: |
| 4 | + |
| 5 | +MIT License |
| 6 | + |
| 7 | +Copyright (c) 2017 |
| 8 | + |
| 9 | +Permission is hereby granted, free of charge, to any person obtaining a copy |
| 10 | +of this software and associated documentation files (the "Software"), to deal |
| 11 | +in the Software without restriction, including without limitation the rights |
| 12 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 13 | +copies of the Software, and to permit persons to whom the Software is |
| 14 | +furnished to do so, subject to the following conditions: |
| 15 | + |
| 16 | +The above copyright notice and this permission notice shall be included in all |
| 17 | +copies or substantial portions of the Software. |
| 18 | + |
| 19 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 20 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 21 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 22 | +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 23 | +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 24 | +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 25 | +SOFTWARE. |
| 26 | + |
| 27 | +:::::::::::::::::::::::::::::::::: |
| 28 | +thread_pool/mpsc_bounded_queue.hpp |
| 29 | +:::::::::::::::::::::::::::::::::: |
| 30 | + |
| 31 | +Copyright (c) 2010-2011 Dmitry Vyukov. All rights reserved. |
| 32 | + |
| 33 | +Redistribution and use in source and binary forms, with or without modification, are permitted provided |
| 34 | +that the following conditions are met: |
| 35 | + |
| 36 | + 1. Redistributions of source code must retain the above copyright notice, this list of |
| 37 | + conditions and the following disclaimer. |
| 38 | + |
| 39 | + 2. Redistributions in binary form must reproduce the above copyright notice, this list |
| 40 | + of conditions and the following disclaimer in the documentation and/or other materials |
| 41 | + provided with the distribution. |
| 42 | + |
| 43 | +THIS SOFTWARE IS PROVIDED BY DMITRY VYUKOV "AS IS" AND ANY EXPRESS OR IMPLIED |
| 44 | +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 45 | +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT |
| 46 | +SHALL DMITRY VYUKOV OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
| 47 | +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 48 | +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 49 | +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 50 | +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
| 51 | +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
| 52 | +THE POSSIBILITY OF SUCH DAMAGE. |
| 53 | + |
| 54 | +The views and conclusions contained in the software and documentation are those of the authors and |
| 55 | +should not be interpreted as representing official policies, either expressed or implied, of Dmitry Vyukov. |
| 56 | + |
0 commit comments