On 6/10/07, Nelson Castillo <nelsoneci@xxxxxxxxx> wrote: (cut)
Is it better if I use semaphores and use the functions that have __ and that don't use the spinlock)? It means no extra work for me. __kfifo_get __kfifo_put
Those functions also have this note: * Note that with only one concurrent reader and one concurrent * writer, you don't need extra locking to use these functions. How is this achieved? I read the sources and this is not obvious to me. Regards, Nelson.- -- http://arhuaco.org http://emQbit.com -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ