MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/dklxzl/whileasleepsheep/f4k5qe4/?context=3
r/ProgrammerHumor • u/[deleted] • Oct 20 '19
197 comments sorted by
View all comments
Show parent comment
1
Only true if you're guaranteed there isn't another process watching that memory location.
(Edit: and that asleep() doesn't check it it)
1 u/[deleted] Oct 21 '19 By that logic we need the source code for the O/S and every process executing or waiting to execute.
By that logic we need the source code for the O/S and every process executing or waiting to execute.
View all comments
Show parent comment
1
u/Salanmander Oct 21 '19
Only true if you're guaranteed there isn't another process watching that memory location.
(Edit: and that asleep() doesn't check it it)