alphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 6 months agomanyThreadsAreBetterThanOnesh.itjust.worksimagemessage-square47fedilinkarrow-up1730arrow-down138
arrow-up1692arrow-down1imagemanyThreadsAreBetterThanOnesh.itjust.worksalphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 6 months agomessage-square47fedilink
minus-squarealphacyberranger@sh.itjust.worksOPlinkfedilinkEnglisharrow-up5·6 months agoJust out of curiosity, can locks be used in multiprocessing?
minus-squareqqq@lemmy.worldlinkfedilinkarrow-up4·edit-26 months agoYes for example Python implements them using semaphores.
minus-squarealphacyberranger@sh.itjust.worksOPlinkfedilinkEnglisharrow-up1·6 months agoOh neat. Thanks
Just out of curiosity, can locks be used in multiprocessing?
Yes for example Python implements them using semaphores.
Oh neat. Thanks