implemented the option added in the previous commit

This commit is contained in:
2023-11-17 16:57:12 +09:00
parent aef6a81380
commit d2725688e0
17 changed files with 135 additions and 58 deletions

View File

@@ -240,7 +240,7 @@ int hio_schedtmrjobafter (hio_t* hio, const hio_ntime_t* fire_after, hio_tmrjob_
{
hio_ntime_t fire_at;
HIO_ASSERT (hio, HIO_IS_POS_NTIME(fire_after));
HIO_ASSERT (hio, !HIO_IS_NEG_NTIME(fire_after));
hio_gettime (hio, &fire_at);
HIO_ADD_NTIME (&fire_at, &fire_at, fire_after);