added Specific protected timer class RsProtectedTimer to avoid passwd deadlock.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6494 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-07-10 21:11:11 +00:00
parent c0cc792300
commit e36557d542
4 changed files with 60 additions and 2 deletions

View file

@ -22,6 +22,7 @@
*/
#include "util/TokenQueue.h"
#include "retroshare-gui/RsAutoUpdatePage.h"
#include <iostream>
#include <QTimer>
@ -118,6 +119,9 @@ void TokenQueue::doPoll(float dt)
void TokenQueue::pollRequests()
{
if(RsAutoUpdatePage::eventsLocked())
return ;
double pollPeriod = 1.0; // max poll period.
if (mRequests.empty()) {