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 48 of file cow_wrapper.hxx.

Member Typedef Documentation

◆ ref_count_t

Member Function Documentation

◆ decrementCount()

static bool o3tl::ThreadSafeRefCountingPolicy::decrementCount ( ref_count_t rCount)
inlinestatic

◆ incrementCount()

static void o3tl::ThreadSafeRefCountingPolicy::incrementCount ( ref_count_t rCount)
inlinestatic

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