Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      mtx_destroy

      From cppreference.com
      <c‎ |thread
       
       
      Concurrency support library
       
      Defined in header<threads.h>
      void mtx_destroy(mtx_t*mutex);
      (since C11)

      Destroys the mutex pointed to bymutex.

      If there are threads waiting onmutex, the behavior is undefined.

      Contents

      [edit]Parameters

      mutex - pointer to the mutex to destroy

      [edit]Return value

      (none)

      [edit]References

      • C17 standard (ISO/IEC 9899:2018):
      • 7.26.4.1 The mtx_destroy function (p: 277)
      • C11 standard (ISO/IEC 9899:2011):
      • 7.26.4.1 The mtx_destroy function (p: 380)

      [edit]See also

      C++ documentation for~timed_mutex
      C++ documentation for~recursive_mutex
      C++ documentation for~recursive_timed_mutex
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=c/thread/mtx_destroy&oldid=138854"

      [8]ページ先頭

      ©2009-2025 Movatter.jp