[NSWI004] a04 no-interrupt best practices

Jakub Pelc jakub.pelc at email.cz
Sun Nov 29 15:21:49 CET 2020


Hello,




I've encountered a few (short) functions where I think switching threads at 
any point should not break anything, but I'm not 100% sure, so I disabled 
interrupts in this code. Is this the right approach? What are the best 
practices with this kind of "defensive" synchronization?


Best regards,

Jakub Pelc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://d3s.mff.cuni.cz/pipermail/nswi004/attachments/20201129/5f7b90a5/attachment.htm>


More information about the NSWI004 mailing list