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

Re: atomic cas, again; PHP this time



Geert Uytterhoeven dixit:

>Yes, you should use the syscall, as finding out whether cas is safe
>or not from userspace is non-trivial.

OK. In the meantime, I found out that calling it via syscall(2)
uses the six-argument invocation, which may not yet be supported
by the particular libc. So I guess I will have to “repurpose” a
few lines from the libgcc helper.

Thanks,
//mirabilos
-- 
> Hi, does anyone sell openbsd stickers by themselves and not packaged
> with other products?
No, the only way I've seen them sold is for $40 with a free OpenBSD CD.
	-- Haroon Khalid and Steve Shockley in gmane.os.openbsd.misc


Reply to: