mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 06:02:41 -04:00
webui:
- added profile import/creation - fixed leaking file descriptors - added upload handler for small files - fixed terminal thread - removed some unused parameter warnings git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8485 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
3ed1be74a6
commit
8fc3917c4b
21 changed files with 1343 additions and 121 deletions
|
@ -93,10 +93,10 @@ TerminalApiClient::TerminalApiClient(ApiServer *api):
|
|||
|
||||
TerminalApiClient::~TerminalApiClient()
|
||||
{
|
||||
//join();
|
||||
fullstop();
|
||||
}
|
||||
|
||||
void TerminalApiClient::run()
|
||||
void TerminalApiClient::data_tick()
|
||||
{
|
||||
// values in milliseconds
|
||||
const int MIN_WAIT_TIME = 20; // sleep time must be smaller or equal than the smallest period
|
||||
|
@ -121,7 +121,7 @@ void TerminalApiClient::run()
|
|||
|
||||
TerminalInput term;
|
||||
|
||||
while(isRunning())
|
||||
while(!shouldStop())
|
||||
{
|
||||
// assuming sleep_time >> work_time
|
||||
// so we don't have to check the absolute time, just sleep every cycle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue