hi,
On Fri, Mar 7, 2014 at 3:47 AM, Thanasis Halas <[email protected]> wrote: > Hello to everyone. > > I'm interested in applying on gsoc for one of the monkey organization > projects. > > About the caching plugin project i would like to ask about the last bullet > of the project's goals, the one about compatibility. How are we supposed to > manage the absent of atomic operations in some machines? All the code i > have implemented by now is based on atomic operations, so can you provide a > good tutorial on non atomic machines? > > thanks for share your interest. As you know the server can run in multiple threads and of course if you have a global cache you need some synchronization mechanism. Personally i don't like atomic operation as they have compiler and HW dependencies, and as we play in common systems and others are embedded we need to be generic for both cases. The answers is "not provide you a good tutorial" for something that you have not explored, we expect a solution based on cache-per thread or using some read-copy-update algorithm such as the one provided by liburcu. You have to do some research on this area and put your conclusions in your proposal. The project is not just about sync, there are many other details to cover, i suggest you start learning Monkey internals, check the "Getting Started" page to get a notion about how things work internally, that will help you to propose a good solution, regards,
_______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
