fixed some process management code

This commit is contained in:
2021-02-02 23:43:12 +00:00
parent 770de52eba
commit 81c9b25cad
3 changed files with 22 additions and 18 deletions

View File

@ -840,8 +840,8 @@ static pf_t builtin_prims[] =
{ 2, HCL_TYPE_MAX(hcl_oow_t), pf_integer_mod, 3, { 'm','o','d' } },
{ 1, 1, hcl_pf_process_fork, 4, { 'f','o','r','k'} },
{ 1, 1, hcl_pf_process_resume, 7, { 'r','e','s','u','m','e' } },
{ 0, 1, hcl_pf_process_suspend, 8, { 's','u','s','p','e','n','d' } },
{ 1, 1, hcl_pf_process_resume, 6, { 'r','e','s','u','m','e' } },
{ 0, 1, hcl_pf_process_suspend, 7, { 's','u','s','p','e','n','d' } },
{ 0, 0, hcl_pf_process_yield, 5, { 'y','i','e','l','d'} }
};