• <bdo id='pr9bR'></bdo><ul id='pr9bR'></ul>

  • <legend id='pr9bR'><style id='pr9bR'><dir id='pr9bR'><q id='pr9bR'></q></dir></style></legend>

      <small id='pr9bR'></small><noframes id='pr9bR'>

      <i id='pr9bR'><tr id='pr9bR'><dt id='pr9bR'><q id='pr9bR'><span id='pr9bR'><b id='pr9bR'><form id='pr9bR'><ins id='pr9bR'></ins><ul id='pr9bR'></ul><sub id='pr9bR'></sub></form><legend id='pr9bR'></legend><bdo id='pr9bR'><pre id='pr9bR'><center id='pr9bR'></center></pre></bdo></b><th id='pr9bR'></th></span></q></dt></tr></i><div id='pr9bR'><tfoot id='pr9bR'></tfoot><dl id='pr9bR'><fieldset id='pr9bR'></fieldset></dl></div>

      <tfoot id='pr9bR'></tfoot>

        C++11 等价于 boost shared_mutex

        C++11 equivalent to boost shared_mutex(C++11 等价于 boost shared_mutex)
          <bdo id='KRBEv'></bdo><ul id='KRBEv'></ul>

          <tfoot id='KRBEv'></tfoot>
        • <i id='KRBEv'><tr id='KRBEv'><dt id='KRBEv'><q id='KRBEv'><span id='KRBEv'><b id='KRBEv'><form id='KRBEv'><ins id='KRBEv'></ins><ul id='KRBEv'></ul><sub id='KRBEv'></sub></form><legend id='KRBEv'></legend><bdo id='KRBEv'><pre id='KRBEv'><center id='KRBEv'></center></pre></bdo></b><th id='KRBEv'></th></span></q></dt></tr></i><div id='KRBEv'><tfoot id='KRBEv'></tfoot><dl id='KRBEv'><fieldset id='KRBEv'></fieldset></dl></div>

            <tbody id='KRBEv'></tbody>

          <small id='KRBEv'></small><noframes id='KRBEv'>

            1. <legend id='KRBEv'><style id='KRBEv'><dir id='KRBEv'><q id='KRBEv'></q></dir></style></legend>
                • 本文介绍了C++11 等价于 boost shared_mutex的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  是否有与 boost::shared_mutex 等效的 C++11.或者在 C++11 中处理多读取器/单写入器情况的另一种解决方案?

                  解决方案

                  我尝试过但未能将 shared_mutex 导入 C++11.它已被提议作为未来的标准.该提案位于此处.>

                  编辑:修订版 (N3659) 是接受 C++14.

                  这是一个实现:

                  http://howardhinnant.github.io/shared_mutex

                  http://howardhinnant.github.io/shared_mutex.cpp

                  Is there a C++11 equivalent for the boost::shared_mutex. Or another solution to handle a multiple reader / single writer situation in C++11?

                  解决方案

                  I tried but failed to get shared_mutex into C++11. It has been proposed for a future standard. The proposal is here.

                  Edit: A revised version (N3659) was accepted for C++14.

                  Here is an implementation:

                  http://howardhinnant.github.io/shared_mutex

                  http://howardhinnant.github.io/shared_mutex.cpp

                  这篇关于C++11 等价于 boost shared_mutex的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How to print vector#39;s data(如何打印矢量的数据)
                  Visual C++ appends 0xCC (int3) bytes at the end of functions(Visual C++ 在函数末尾附加 0xCC (int3) 字节)
                  How to use a variable inside a _T wrapper?(如何在 _T 包装器中使用变量?)
                  MSVC++ warning flags(MSVC++ 警告标志)
                  How to read file which contains uxxxx in vc++(如何在vc++中读取包含uxxxx的文件)
                  stack overflow error in C++ program(C++程序中的堆栈溢出错误)
                  <legend id='cEDWo'><style id='cEDWo'><dir id='cEDWo'><q id='cEDWo'></q></dir></style></legend>

                  1. <tfoot id='cEDWo'></tfoot>
                      <bdo id='cEDWo'></bdo><ul id='cEDWo'></ul>

                        • <i id='cEDWo'><tr id='cEDWo'><dt id='cEDWo'><q id='cEDWo'><span id='cEDWo'><b id='cEDWo'><form id='cEDWo'><ins id='cEDWo'></ins><ul id='cEDWo'></ul><sub id='cEDWo'></sub></form><legend id='cEDWo'></legend><bdo id='cEDWo'><pre id='cEDWo'><center id='cEDWo'></center></pre></bdo></b><th id='cEDWo'></th></span></q></dt></tr></i><div id='cEDWo'><tfoot id='cEDWo'></tfoot><dl id='cEDWo'><fieldset id='cEDWo'></fieldset></dl></div>
                            <tbody id='cEDWo'></tbody>

                            <small id='cEDWo'></small><noframes id='cEDWo'>