SourcePro® C++ API Reference Guide

Product Documentation:
   SourcePro C++
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<Redeemable> or an RWTIOUEscrow<Redeemable>.

Example
See also
RWTEscrowImp<Redeemable>, RWTEscrowHandle<Redeemable>, RWTIOUResult<Redeemable>, RWTIOUEscrow<Redeemable>

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<Redeemable>. 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 © 2015 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.