News for hackers. Stuff that matters.
Re:Tokio and Prctl = Nasty Bug by emmelaich on Monday February 24, 2025 @05:33AM (#43157979)
Seeing the first mention of 10 seconds, I thought (jokingly) - Why not grep the source for the 10 second value.

Jokingly, because I thought it would be an emergent property, not a literal value.

Turns out it was a literal value after all and grepping would have helped!

Re:Tokio and Prctl = Nasty Bug by ricardobeat on Monday February 24, 2025 @06:38AM (#43158375)
There was no mention of a ten second interval anywhere in the code, only in the tests they wrote while debugging.
Re:Tokio and Prctl = Nasty Bug by AntiRush on Monday February 24, 2025 @06:46AM (#43158443)
As mentioned in the article, there is a 10 second value in Tokio - the default thread timeout.
Re:Tokio and Prctl = Nasty Bug by ricardobeat on Tuesday February 25, 2025 @08:06AM (#43171333)
That wouldn’t be greppable in the source though?