added a debug message

This commit is contained in:
hyung-hwan 2020-07-27 12:10:55 +00:00
parent 0d9347eb21
commit 190c1effc5

View File

@ -879,7 +879,11 @@ int mio_svc_htts_dothr (mio_svc_htts_t* htts, mio_dev_sck_t* csck, mio_htre_t* r
MIO_SVC_HTTS_RSRC_ATTACH (thr_state, cli->rsrc);
thr_state->peer = mio_dev_thr_make(mio, MIO_SIZEOF(*thr_peer), &mi);
if (MIO_UNLIKELY(!thr_state->peer)) { printf ("dev thr make failure. \n"); goto oops; }
if (MIO_UNLIKELY(!thr_state->peer))
{
MIO_DEBUG3 (mio, "HTTS(%p) - failed to create thread for %p(%d)\n", htts, csck, (int)csck->hnd);
goto oops;
}
tfs = MIO_NULL; /* mark that tfs is delegated to the thread */