class handle {
private:
- hinfo *h;
+ shared_ptr<hinfo> h;
public:
handle(const string & m);
- ~handle();
/* safebind will try to bind with the rpc server on the first call.
* Since bind may block, the caller probably should not hold a mutex
* when calling safebind.
* }
*/
rpcc *safebind();
+
+ void invalidate();
};
void invalidate_handle(const string & m);