implemented actor_max_runtime primitively using timer events

This commit is contained in:
2018-03-15 10:30:06 +00:00
parent 6f69e018c4
commit 3228386c2c
5 changed files with 162 additions and 24 deletions

View File

@ -664,7 +664,7 @@ static void syserrstrb (hcl_t* hcl, int syserr, hcl_bch_t* buf, hcl_oow_t len)
#if defined(HAVE_STRERROR_R)
strerror_r (syserr, buf, len);
#else
/* this is not thread safe */
/* this may not be thread safe */
hcl_copybcstr (buf, len, strerror(syserr));
#endif
}