Ryan Leavengood wrote: > On Thu, Sep 24, 2009 at 6:23 AM, Colin Günther <coling@xxxxxx> wrote: > >> As it seems Haikus conditional variable support cannot be used in this case. >> At some point in the code a conversion of Haiku's "struct mutex" in a >> "struct _pthread_mutex" is needed. And as far as I can tell this is >> impossible. Maybe someone else knows better. >> > > From this it sounds like you were trying to use the pthread condition > variables, but Stephan was talking about the kernel condition > variables, in other words: src/system/kernel/condition_variable.cpp. > > Since AFAIK you are in kernel-land this is probably what you would > want to use. Of course I don't know if that is considered a "public > kernel API" or what the general policy is on using parts of the kernel > code like that in drivers. > > Isn't the idea of BeOS to have only messaging services in the kernel and nothing else? Why would an app then want to tap into kernel land? -- Yours sincerely Plüss Roland Leader and Head Programmer - Game: Epsylon ( http://epsylon.rptd.ch/ , http://www.moddb.com/games/4057/epsylon ) - Game Engine: Drag(en)gine ( http://dragengine.rptd.ch , http://www.moddb.com/engines/9/dragengine ) - Normal Map Generator: DENormGen ( http://epsylon.rptd.ch/denormgen.php )