renamed some time functions - e.g. qse_addtime to qse_add_ntime, qse_subtime to qse_sub_ntime, etc

moved the position of result parameter from the third position to the first position in qse_add_ntime() and qse_sub_ntime()
This commit is contained in:
2020-09-10 15:57:11 +00:00
parent 1c39537b44
commit d8247f8a6f
12 changed files with 55 additions and 55 deletions

View File

@ -84,7 +84,7 @@ static int httpd_main (int argc, qse_char_t* argv[])
int trait = QSE_HTTPD_CGIERRTONUL;
qse_httpd_setopt (httpd, QSE_HTTPD_TRAIT, &trait);
qse_inittime (&tmout, 10, 0);
qse_init_ntime (&tmout, 10, 0);
qse_httpd_setopt (httpd, QSE_HTTPD_TMOUT, &tmout);
}

View File

@ -57,7 +57,7 @@ static int thr_exec (qse_thr_t* thr, void* ctx)
qse_ntime_t x;
OUTMSG (QSE_T("write waiting"), xtn->id);
qse_inittime (&x, 3, 0);
qse_init_ntime (&x, 3, 0);
/*if (qse_rwl_lockw (rwl, QSE_NULL) >= 0)*/
if (qse_rwl_lockw (rwl, &x) >= 0)
{