[LinuxPPS] Suggestions needed
Udo van den Heuvel
udovdh at xs4all.nl
Tue Apr 1 15:58:59 CEST 2008
Rodolfo Giometti wrote:
> here a letter from Andrew Morton (kernel guru) where he asks to me to
> modify the PPS register/unregister procedure.
>
> Can someone suggest a good solution as Andrew asks for? :)
Yes.
Add a flag to a struct of somesuch (which struct needs to be modified).
On entry of procedure set the flag if unset.
If already set: fail
modify data in struct, whatever
Clear flag.
This means that the struct can only be modified by one instance only. (?!)
More information about the LinuxPPS
mailing list