SourcePro® API Reference Guide

Product Documentation:
   SourcePro
Documentation Home
Functions
rwtMakeThreadIOU Macros and Functions

Module Description

Header File
#include <rw/thread/rwtMakeThreadIOU.h>

Helper function for creating thread-safe escrow implementations. The result of the function can be used to initialize an RWTIOUResult or an RWTIOUEscrow.

Example
See also
RWTEscrowImp, RWTEscrowHandle, RWTIOUResult, RWTIOUEscrow

Functions

template<class Redeemable >
RWTEscrowHandle< Redeemable > rwtMakeThreadIOU (const Redeemable *r)
 

Function Documentation

template<class Redeemable >
RWTEscrowHandle<Redeemable> rwtMakeThreadIOU ( const Redeemable *  r)
inline
Deprecated:
As of SourcePro 12.5, use RWTThreadEscrowImp<Redeemable>::make() instead.

Creates an RWTEscrowHandle. A pointer to the redeemable type is passed in order for the template function to ascertain the Redeemable template argument type. This allows the function to create a threaded escrow implementation of the proper type.

Copyright © 2021 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.