Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      mtx_plain, mtx_recursive, mtx_timed

      From cppreference.com
      <c‎ |thread
       
       
      Concurrency support library
       
      Defined in header<threads.h>
      enum{

          mtx_plain=/* unspecified */,
          mtx_recursive=/* unspecified */,
          mtx_timed=/* unspecified */

      };
      (since C11)

      When passed tomtx_init, identifies the type of a mutex to create.

      Constant Explanation
      mtx_plain plain mutex
      mtx_recursive recursive mutex
      mtx_timed timed mutex

      [edit]References

      • C17 standard (ISO/IEC 9899:2018):
      • 7.26.1/5 mtx_plain, mtx_recursive, mtx_timed (p: 274-275)
      • C11 standard (ISO/IEC 9899:2011):
      • 7.26.1/5 mtx_plain, mtx_recursive, mtx_timed (p: 377)

      [edit]See also

      creates a mutex
      (function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=c/thread/mtx_types&oldid=138853"

      [8]ページ先頭

      ©2009-2025 Movatter.jp