00000050
 Û    Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: React/Promise
Upstream-Contact: Jan Sorgalla <jsorgalla@gmail.com>
Source: https://github.com/reactphp/promise

Files: *
Copyright: 2012-2016, Jan Sorgalla <jsorgalla@gmail.com>
           2012, Christian LÃ¼ck <christian@clue.engineering>
           2012, Cees-Jan Kiewiet <reactphp@ceesjankiewiet.nl>
           2012, Chris Boden <cboden@gmail.com>
License: Expat
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in
 all copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 DEALINGS IN THE SOFTWARE.
 V    ‹      Õ–ßoÚ0ÇßûWx~Ø¡PÖ6xêH¥¡Q@-Ó4MSebC¬&vdýëçà´M§¢Q©­èÓ�ãoîîãßá‡hÔ›üŸ£¯“‹ÿ2è÷®ü8ìD“Èw´ê� à|ˆN¬ÍO V«U}uXWz“KHl–¶ÀX-b[g–arßÈ
N™³(´Â¦œô%ã�š!Pkãî¿µÆ—"æ¦ð-Ï ã™ÒëÒÁ1HÅx£lw7ƒf‚îÒA™/œ*¶.Ê^+¥‹¼Á¢ÓMæÂÕ$´	ZÒTÌe[•cŠlŽŒŽ»D¬¤�iJåM}.fÑÔvñ¯~oôÛéÀ&Åß$¤(Ñ|ÖÅŸ{Ýáé¨a2¤�>­¹pš3LÔX”)&f‚³­â+/¾·ÛF^qk‘[¡äƒb5V©É©cm;‚DWU^Âþ74~4ã³Ëóá$ê_ú!aEˆ‡ê^`1SÍ¥E‘Ð<¶®«¤ó©>Ê©ÉOïš¨¬]‹yb1A¨†žT>x¦RÆuyì]½ÞV«ü§¬f£yT‚ZpŒ‚ÎIã¡W¬!o¤ZÉ*€[O(™
É1ñv€f€‚öI{;€;‡¾½!@ž¬Íµ_e˜TïEaI²ñ÷d÷M‘«×nSx»sý­Î¾l
íŽ£eqe`rïîË4<ÃXjÂÆì>Ÿöd™Å´¼4Â½ÿ�Ø_º»o_à�×Qˆ]ß*É&•Æëo‰_1P¾ïBØ<(CðïÚ¿¯æ-:    7   ˆl–Ü4ý( ©¤ýÔâ�nàp,©‹Fÿ‘äÇò 8à1¶ÛÄ+î?Æƒh¹ÅÄÃ      0000004f
  N   	ˆl–Ü4ý( ©¤ýÔâ�nàp-)‹Fÿ‘äÇò 8à1¶ØÙnW¿ŸÇƒh¹Æa–Ü4ý( ©¤ýÔâ�nàp-)‹FÿÅ      	0
  5   ˆl–Ü4ý( ©¤ýÔâ�jãb¸Û*bÑ¿�þB gó%‘Ö[{ùÉƒh¹È¿Æ      00000027
  B   ˆl–Ãa¾”êh¥2 ¸&®6â˜´o�þ_h‹7) ä�n1ˆ þÊƒ/É_‹I|¥�+ýÿ¹ä³ÁÈ 	L    
//          Copyright Oliver Kowalke 2013.
// Distributed under the Boost Software License, Version 1.0.
//    (See accompanying file LICENSE_1_0.txt or copy at
//          http://www.boost.org/LICENSE_1_0.txt)
//
//  based on boost::interprocess::sync::interprocess_spinlock

#ifndef BOOST_FIBERS_RECURSIVE_TIMED_MUTEX_H
#define BOOST_FIBERS_RECURSIVE_TIMED_MUTEX_H

#include <chrono>
#include <cstddef>

#include <boost/config.hpp>

#include <boost/assert.hpp>

#include <boost/fiber/context.hpp>
#include <boost/fiber/detail/config.hpp>
#include <boost/fiber/detail/convert.hpp>
#include <boost/fiber/detail/spinlock.hpp>

#ifdef BOOST_HAS_ABI_HEADERS
#  include BOOST_ABI_PREFIX
#endif

#ifdef _MSC_VER
# pragma warning(push)
# pragma warning(disable:4251)
#endif

namespace boost {
namespace fibers {

class condition_variable;

class BOOST_FIBERS_DECL recursive_timed_mutex {
private:
    friend class condition_variable;

    using wait_queue_type = context::wait_queue_t;

    detail::spinlock            wait_queue_splk_{};
    wait_queue_type             wait_queue_{};
    context                 *   owner_{ nullptr };
    std::size_t                 count_{ 0 };

    bool try_lock_until_( std::chrono::steady_clock::time_point const& timeout_time) noexcept;

public:
    recursive_timed_mutex() = default;

    ~recursive_timed_mutex() {
        BOOST_ASSERT( nullptr == owner_);
        BOOST_ASSERT( 0 == count_);
        BOOST_ASSERT( wait_queue_.empty() );
    }

    recursive_timed_mutex( recursive_timed_mutex const&) = delete;
    recursive_timed_mutex & operator=( recursive_timed_mutex const&) = delete;