Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::condition_variable::native_handle

      From cppreference.com
      <cpp‎ |thread‎ |condition variable

      [edit template]
       
       
      Concurrency support library
      Threads
      (C++11)
      (C++20)
      this_thread namespace
      (C++11)
      (C++11)
      (C++11)
      Cooperative cancellation
      Mutual exclusion
      Generic lock management
      (C++11)
      (C++11)
      (C++11)
      (C++11)
      Condition variables
      (C++11)
      Semaphores
      Latches and Barriers
      (C++20)
      (C++20)
      Futures
      (C++11)
      (C++11)
      (C++11)
      Safe reclamation
      Hazard pointers
      Atomic types
      (C++11)
      (C++20)
      Initialization of atomic types
      (C++11)(deprecated in C++20)
      (C++11)(deprecated in C++20)
      Memory ordering
      (C++11)(deprecated in C++26)
      Free functions for atomic operations
      Free functions for atomic flags
       
       
      native_handle_type native_handle();
      (since C++11)

      Accesses the native handle of*this.

      The meaning and the type of the result of this function is implementation-defined. On a POSIX system, this may be a value of typepthread_cond_t*. On a Windows system, this may be aPCONDITION_VARIABLE.

      [edit]Parameters

      (none)

      [edit]Return value

      The native handle of this condition variable.

      [edit]See also

      returns the underlying implementation-defined thread handle
      (public member function ofstd::thread)[edit]
      returns the underlying implementation-defined thread handle
      (public member function ofstd::jthread)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/thread/condition_variable/native_handle&oldid=133368"

      [8]ページ先頭

      ©2009-2025 Movatter.jp