nooky59
18th February 2010, 11:34
Hi,
In my app, I used gSOAP for a long time, which make blocking calls, so it was perfect for my traditionnal QThread design.
I have noticed a problem, on most Linux platform (and Mac OS X I think), but not on Windows, where a float was truncated by the simple fact of instanciating a QApplication object... quite problematic...
So, I would like to use Qt Soap instead but this last one works in an asynchronous fashion and I don't want to reafactor all my app for the moment.
Can I have performance problems with an empy while loop like this, that wait for the answer of the SOAP server ?
http.submitRequest(request, "/");
while(!http.networkReply())
{
}
// Dealing with the result
In my app, I used gSOAP for a long time, which make blocking calls, so it was perfect for my traditionnal QThread design.
I have noticed a problem, on most Linux platform (and Mac OS X I think), but not on Windows, where a float was truncated by the simple fact of instanciating a QApplication object... quite problematic...
So, I would like to use Qt Soap instead but this last one works in an asynchronous fashion and I don't want to reafactor all my app for the moment.
Can I have performance problems with an empy while loop like this, that wait for the answer of the SOAP server ?
http.submitRequest(request, "/");
while(!http.networkReply())
{
}
// Dealing with the result