this post was submitted on 30 Jan 2025
961 points (99.7% liked)

memes

12193 readers
2665 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] idunnololz@lemmy.world 1 points 1 month ago (1 children)

The output isn't guaranteed to be correct though. Most implementations of sleep can only guarantee that it will sleep for at least the amount of time specified. It can sleep for longer though.

[โ€“] JackbyDev@programming.dev 4 points 1 month ago

I remember seeing discussions about this at the time, it would also sometimes fail with a very large number of 1s and a single 2.