SourcePro® API Reference Guide

 
Loading...
Searching...
No Matches
rwtMakeThreadIOU Macros and Functions

Functions

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

Detailed 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
// is equivalent to:
Offers powerful and convenient facilities for manipulating strings.
Definition stdcstring.h:826
A readable IOU handle.
Definition RWTIOUResult.h:122
static RWTEscrowHandle< Redeemable > make()
RWTEscrowHandle< Redeemable > rwtMakeThreadIOU(const Redeemable *r)
Definition rwtMakeThreadIOU.h:33
See also
RWTEscrowImp, RWTEscrowHandle, RWTIOUResult, RWTIOUEscrow

Function Documentation

◆ rwtMakeThreadIOU()

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 © 2024 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.