mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 22:55:04 -04:00
Improvements/bugfixes to File Transfer.
* Lots more debugging messages. * Fixed Sleep / sleep issue on windows. * added pthread / WSAStartup. * added ownId to ftDataMultiplex for loopback file transfer. * now start ftDataMultiplex thread. * several bugfixes in ftfilecreator git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@710 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
059effcfac
commit
f7fca4295b
15 changed files with 312 additions and 26 deletions
|
@ -37,6 +37,7 @@
|
|||
/****
|
||||
* #define RSDIR_DEBUG 1
|
||||
****/
|
||||
#define RSDIR_DEBUG 1
|
||||
|
||||
std::string RsDirUtil::getTopDir(std::string dir)
|
||||
{
|
||||
|
|
|
@ -92,8 +92,11 @@ void RsQueueThread::run()
|
|||
mLastSleep = mMaxSleep;
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef WIN32
|
||||
Sleep(mLastSleep);
|
||||
#else
|
||||
usleep(1000 * mLastSleep);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue