alphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 7 months agomanyThreadsAreBetterThanOnesh.itjust.worksimagemessage-square39fedilinkarrow-up1730arrow-down137
arrow-up1693arrow-down1imagemanyThreadsAreBetterThanOnesh.itjust.worksalphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 7 months agomessage-square39fedilink
minus-squareArtyom@lemm.eelinkfedilinkarrow-up7·7 months agoI’m actually an expert in multiprocessing, which is just as good
minus-squarealphacyberranger@sh.itjust.worksOPlinkfedilinkEnglisharrow-up5·7 months agoJust out of curiosity, can locks be used in multiprocessing?
minus-squareqqq@lemmy.worldlinkfedilinkarrow-up4·edit-27 months agoYes for example Python implements them using semaphores.
minus-squarealphacyberranger@sh.itjust.worksOPlinkfedilinkEnglisharrow-up1·7 months agoOh neat. Thanks
I’m actually an expert in multiprocessing, which is just as good
Just out of curiosity, can locks be used in multiprocessing?
Yes for example Python implements them using semaphores.
Oh neat. Thanks