[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rtl] spinlocks in shared memory pool?
Ivan Martinez (im@kalman.iau.dtu.dk) wrote:
> (Hope I get any answer making the same question in a different way)
> Hello all,
> Can I allocate spinlock_t in shared memory to prevent realtime tasks of
> different modules from concurrent access of data?. Is there any other
> way of doing it?. Thank you.
You can either do this, or define a spinlock in a module that gets
loaded first.
Michael.