alphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 4 months agomanyThreadsAreBetterThanOnesh.itjust.worksimagemessage-square41fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imagemanyThreadsAreBetterThanOnesh.itjust.worksalphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 4 months agomessage-square41fedilink
minus-squarealphacyberranger@sh.itjust.worksOPlinkfedilinkEnglisharrow-up0·4 months agoJust out of curiosity, can locks be used in multiprocessing?
minus-squareqqq@lemmy.worldlinkfedilinkarrow-up0·edit-24 months agoYes for example Python implements them using semaphores.
Just out of curiosity, can locks be used in multiprocessing?
Yes for example Python implements them using semaphores.