cm0002@lemmy.world to Programmer Humor@programming.dev · 3 个月前timeoutSortlemmy.mlimagemessage-square36linkfedilinkarrow-up1410arrow-down13cross-posted to: programmerhumor@lemmy.ml
arrow-up1407arrow-down1imagetimeoutSortlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 3 个月前message-square36linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squarescrion@lemmy.worldlinkfedilinkarrow-up3·3 个月前They are launched sequentially, but run simultaneously, yes - at least some of them. And they run concurrently but not in parallel - using a single execution context, there is only a single thread, so no parallelism exist.
minus-squareptu@sopuli.xyzlinkfedilinkarrow-up1·3 个月前I see, I was only aware of sleep but that makes sense. Thanks for your insight.
They are launched sequentially, but run simultaneously, yes - at least some of them. And they run concurrently but not in parallel - using a single execution context, there is only a single thread, so no parallelism exist.
I see, I was only aware of sleep but that makes sense. Thanks for your insight.