pvac: better Requester names

pass through the client name (aka the channel name)
This commit is contained in:
Michael Davidsaver
2017-09-06 13:49:46 -05:00
parent 5137b90f56
commit 25c7da43f2
3 changed files with 12 additions and 3 deletions

View File

@@ -72,7 +72,10 @@ struct GetPutter : public pva::ChannelPutRequester,
}
virtual std::string getRequesterName() OVERRIDE FINAL
{ return "GetPutter"; }
{
Guard G(mutex);
return op ? op->getChannel()->getRequesterName() : "<dead>";
}
virtual void channelPutConnect(
const epics::pvData::Status& status,