I have been thinking about refactoring some of my projects in the context of porting it to 4.3 anyway.
But the same challenge pops up again and again.
Access to devices.
For the example, lets take a “Character Display” -module that we need to print to from different classes. Its instantiated somewhere and you can send a reference to it in a constructor, and then print as you like. But the display messes up because of multi-threading, so you need to wrap it in a lock or something.
I have had a look at some codeshare projects, but no-one really has a brilliant solution to enabling global access to a device, and i controlled manner.
Any golden nuggets that I need to look at?