Hi,
I have a problem with a race condition involving my display and forked processes. I need to find a way to serialize writing to the display.
The only way I know to make sure only one process can access a resource is by using lockfiles. I tried to use a variable, but that idea suffered from a race condition as well.
Is this the best way, or am I missing something obvious?
Ty.