Global Function
#include <rw/thread/rwtMakeThreadIOU.h>
RWTIOUResult<int> ioures = rwtMakeThreadIOU((int*)0); RWTIOUEscrow<int> ioures = rwtMakeThreadIOU((int*)0);
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>
RWTIOUResult<RWCString> res = rwtMakeThreadIOU((RWCString*)0); // is equivalent to: RWTIOUResult<RWCString> res = RWTThreadEscrowImp<RWCString>::make();
template <class Redeemable> inline RWTEscrowHandle<Redeemable> rwtMakeThreadIOU(const Redeemable *r)
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.
RWTEscrowImp<Redeemable>, RWTEscrowHandle<Redeemable>, RWTIOUResult<Redeemable>, RWTIOUEscrow<Redeemable>
©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.