Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::experimental::latch::count_down

      From cppreference.com
      <cpp‎ |experimental‎ |latch
       
       
       
       
       
      void count_down( ptrdiff_t n=1);
      (1)(concurrency TS)

      Atomically decrements the internal counter byn without blocking the caller.

      Ifn is greater than the value of the internal counter or is negative, the behavior is undefined.

      This operationsynchronizes with all calls that block on this latch and allis_ready calls on this latch that returnstrue.

      [edit]Parameters

      n - the value by which the internal counter is decreased

      [edit]Return value

      (none)

      [edit]Exceptions

      Throws nothing.

      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/experimental/latch/count_down&oldid=154973"

      [8]ページ先頭

      ©2009-2026 Movatter.jp