fixed the cgi task counting bug

This commit is contained in:
2023-11-18 22:23:08 +09:00
parent cc5c027277
commit 52829974ec
5 changed files with 59 additions and 29 deletions

View File

@@ -28,6 +28,7 @@
#include <hio-http.h>
#include <hio-htrd.h>
#include <hio-sck.h>
#include <hio-spl.h>
#include "hio-prv.h"
struct hio_svc_htts_cli_t
@@ -89,6 +90,10 @@ struct hio_svc_htts_t
{
hio_ooi_t ntasks;
hio_ooi_t ntask_cgis;
#if !(defined(HCL_ATOMIC_LOAD) && defined(HCL_ATOMIC_CMP_XCHG))
hio_spl_t spl_ntasks;
hio_spl_t spl_ntask_cgis;
#endif
} stat;
};