[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: atomic cas, again; PHP this time



Dixi quod…

>Is there a reusable example of how to use the syscall from generic
>user-space code? It’s not really in any eglibc header, I think… at

Hrm. I guess there’s the libgcc one. But that’s GPLv3+exception, and
thus not really reusable in the “submit for inclusion into PHP” (or
other upstream) code sense; the FPM SAPI uses 2-clause BSD, for in-
stance.

Also, why doesn’t it use syscall(2)? I guess I could write something
similar using syscall() and submit to the PHP people… unless someone
feels I’d step on their toes with that.

bye,
//mirabilos
-- 
16:47⎜«mika:#grml» .oO(mira ist einfach gut....)      23:22⎜«mikap:#grml»
mirabilos: und dein bootloader ist geil :)    23:29⎜«mikap:#grml» und ich
finds saugeil dass ich ein bsd zum booten mit grml hab, das muss ich dann
gleich mal auf usb-stick installieren	-- Michael Prokop über MirOS bsd4grml


Reply to: