Short answer: no, internals are not documented, or only sparsely. I'll write a few lines here, but I guess you need to figure out the most yourself..
First process to attach to DirectFB is the master, this will not change. Master does init and shutdown. All following attaching processes are slaves and will do join and leave. Use of global variables is discouraged, also because DirectFB offers in internal function calls always some kind of 'this' pointer, which can be globally shared via shared memory if the function so requires. And no, you cannot share globals among processes. hth Niels MrPeach wrote: > I hate to ask this about an open source project, but is there any > documentation about the interface between DirectFB proper and the user > controlled components (system and gfx particularly), other than the > code itself? > > I ask only because I'm on a tight deadline and I just got hit with the > news that I need to support multiple processes (presumable under > Fusion) and I have many questions about DFB's thread and process > behaviors - which a close reading of the code would reveal, but time > won't permit (without much gritting of teeth by all involved). > > My single app driver code seems to be working fine. Perhaps just a > quick "this is what is needed for multiple processes above and beyond > what you've done for single app support" sort of thing would help. > > Or, even more specifically, are join and leave for multiple process > support? Are there any gotchas I should look out for? > > And on a newbie level, should process specific variables be stored as > globals/in a global structure, or is there a better (or recommended) > way? I presume globals are process specific in Linux loadable > libraries. > > Anyone? > > _______________________________________________ > directfb-dev mailing list > directfb-dev@directfb.org > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > > -- .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev