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:
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user