Changed the format parameters in some of the debug printf to
be more cross-platform enabled.
This commit is contained in:
@@ -75,7 +75,7 @@ ClientReq::ClientReq(
|
||||
// L2
|
||||
//=======================================================================--
|
||||
{
|
||||
DbgTrace(1, "ClientReq::ClientReq- Start, Obj = %08X\n", this);
|
||||
DbgTrace(1, "ClientReq::ClientReq- Start, Obj = %0X\n", this);
|
||||
|
||||
// Initialize the mutex
|
||||
if (pthread_mutex_init(&m_mutex, NULL) != 0)
|
||||
@@ -120,7 +120,7 @@ ClientReq::~ClientReq(void)
|
||||
// L2
|
||||
//=======================================================================--
|
||||
{
|
||||
DbgTrace(1, "ClientReq::~ClientReq- Start, Obj = %08X\n", this);
|
||||
DbgTrace(1, "ClientReq::~ClientReq- Start, Obj = %0X\n", this);
|
||||
|
||||
// Cleanup resources allocated for the object
|
||||
pthread_mutex_destroy(&m_mutex);
|
||||
@@ -155,7 +155,7 @@ ClientReq::processServerData(
|
||||
// L2
|
||||
//=======================================================================--
|
||||
{
|
||||
DbgTrace(1, "ClientReq::processServerData- Start, Obj = %08X\n", this);
|
||||
DbgTrace(1, "ClientReq::processServerData- Start, Obj = %0X\n", this);
|
||||
|
||||
// Acquire exclusive access to the object
|
||||
pthread_mutex_lock(&m_mutex);
|
||||
@@ -199,7 +199,7 @@ ClientReq::processError(void)
|
||||
// L2
|
||||
//=======================================================================--
|
||||
{
|
||||
DbgTrace(1, "ClientReq::processError- Start, Obj = %08X\n", this);
|
||||
DbgTrace(1, "ClientReq::processError- Start, Obj = %0X\n", this);
|
||||
|
||||
// Acquire exclusive access to the object
|
||||
pthread_mutex_lock(&m_mutex);
|
||||
@@ -246,7 +246,7 @@ ClientReq::waitForCompletion(
|
||||
int retStatus;
|
||||
int oldCancelState;
|
||||
|
||||
DbgTrace(1, "ClientReq::waitForCompletion- Start, Obj = %08X\n", this);
|
||||
DbgTrace(1, "ClientReq::waitForCompletion- Start, Obj = %0X\n", this);
|
||||
|
||||
// Make sure that the thread can not be cancelled while executing
|
||||
// in this routine.
|
||||
@@ -281,7 +281,7 @@ ClientReq::waitForCompletion(
|
||||
else
|
||||
retStatus = -1;
|
||||
|
||||
DbgTrace(1, "ClientReq::waitForCompletion- End, retStatus = %08X\n", retStatus);
|
||||
DbgTrace(1, "ClientReq::waitForCompletion- End, retStatus = %0X\n", retStatus);
|
||||
|
||||
// Restore the threads cancel state
|
||||
pthread_setcancelstate(oldCancelState, NULL);
|
||||
@@ -308,7 +308,7 @@ ClientReq::completionStatus(void)
|
||||
{
|
||||
CompletionStatus compStatus;
|
||||
|
||||
DbgTrace(1, "ClientReq::completionStatus- Start, Obj = %08X\n", this);
|
||||
DbgTrace(1, "ClientReq::completionStatus- Start, Obj = %0X\n", this);
|
||||
|
||||
// Check if we encountered any issues
|
||||
if (m_internalProblem)
|
||||
@@ -320,7 +320,7 @@ ClientReq::completionStatus(void)
|
||||
compStatus = SuccessCompletionStatus;
|
||||
}
|
||||
|
||||
DbgTrace(1, "ClientReq::completionStatus- End, compStatus = %08X\n", compStatus);
|
||||
DbgTrace(1, "ClientReq::completionStatus- End, compStatus = %0X\n", compStatus);
|
||||
|
||||
return compStatus;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user