LibreOffice Module o3tl (master)  1
Public Types | Static Public Member Functions | List of all members
o3tl::ThreadSafeRefCountingPolicy Struct Reference

Thread-safe refcounting. More...

#include <cow_wrapper.hxx>

Public Types

typedef oslInterlockedCount ref_count_t

Static Public Member Functions

static void incrementCount (ref_count_t &rCount)
static bool decrementCount (ref_count_t &rCount)

Detailed Description

Thread-safe refcounting.

Use this to have the cow_wrapper refcounting mechanisms employ the thread-safe oslInterlockedCount .

Definition at line 49 of file cow_wrapper.hxx.

Member Typedef Documentation

Member Function Documentation

static bool o3tl::ThreadSafeRefCountingPolicy::decrementCount ( ref_count_t rCount)
static void o3tl::ThreadSafeRefCountingPolicy::incrementCount ( ref_count_t rCount)

The documentation for this struct was generated from the following file: