3 ms·
I honestly have never done cooperative multitasking, but I think cobegin/coend were: cobegin stmt_a stmt_b stmt_c coend when the construct is
by m463 6y ago
I honestly have never done cooperative multitasking, but I think cobegin/coend were:
cobegin
stmt_a
stmt_b
stmt_c
coend
when the construct is entered a b and c were all executed in parallel.
My thought was that a construct like that would be clumsy to do with library-based multitasking