jpayne@69: Copyright (c) 2019, threadpoolctl contributors jpayne@69: jpayne@69: Redistribution and use in source and binary forms, with or without jpayne@69: modification, are permitted provided that the following conditions are met: jpayne@69: jpayne@69: * Redistributions of source code must retain the above copyright notice, jpayne@69: this list of conditions and the following disclaimer. jpayne@69: * Redistributions in binary form must reproduce the above copyright jpayne@69: notice, this list of conditions and the following disclaimer in the jpayne@69: documentation and/or other materials provided with the distribution. jpayne@69: * Neither the name of copyright holder nor the names of its contributors jpayne@69: may be used to endorse or promote products derived from this software jpayne@69: without specific prior written permission. jpayne@69: jpayne@69: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" jpayne@69: AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE jpayne@69: IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE jpayne@69: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE jpayne@69: FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL jpayne@69: DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR jpayne@69: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER jpayne@69: CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, jpayne@69: OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE jpayne@69: OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.