H
Hans
Guest
Hi
This problem is a bit hard to explain, but I'll try anyway.
I have a register in my system, which contains a bit. When the user writes
a 1 to this bit, it signals to the system that it should perform a task.
Once the task is complete I would like to clear the bit. If the bit isn't
cleared the system will get stuck in an endless loop.
Does anyone know any good techniques for clearing a bit, which is settable
by the user? Or in other words, how can I set the bit in one process and
then clear it in another?
Surely this is a common problem.
Thanks for any help.
This problem is a bit hard to explain, but I'll try anyway.
I have a register in my system, which contains a bit. When the user writes
a 1 to this bit, it signals to the system that it should perform a task.
Once the task is complete I would like to clear the bit. If the bit isn't
cleared the system will get stuck in an endless loop.
Does anyone know any good techniques for clearing a bit, which is settable
by the user? Or in other words, how can I set the bit in one process and
then clear it in another?
Surely this is a common problem.
Thanks for any help.