News for hackers. Stuff that matters.
Re:Singleton Is a Bad Idea by philihp on Sunday April 10, 2022 @02:39PM (#30980257)
You fclose the handle when you're done, or you create some kind of synchronized semaphore, if you wanna be extra.

The issue is really around having multiple handles for writing (not just reading or appending), and the number of times you actually have this problem here is vanishingly rare.

There are no comments on this comment yet.