![]() | Fun 0.41.5 The programming language that makes You have fun |
Implements OP_THREAD_JOIN to wait for a spawned thread and get its result. More...
Go to the source code of this file.
Functions | |
| if (vtid.type !=VAL_INT) | |
| free_value (vtid) | |
| push_value (vm, res) | |
Variables | |
| case | OP_THREAD_JOIN |
| Value | res = fun_thread_join((int)vtid.i) |
| break | |
Implements OP_THREAD_JOIN to wait for a spawned thread and get its result.
Behavior:
Errors:
Definition in file thread_join.c.
| free_value | ( | vtid | ) |

| if | ( | vtid.type ! | = VAL_INT | ) |
| push_value | ( | vm | , |
| res | ) |

| break |
Definition at line 33 of file thread_join.c.
| case OP_THREAD_JOIN |
Definition at line 22 of file thread_join.c.
| Value res = fun_thread_join((int)vtid.i) |
Definition at line 30 of file thread_join.c.