[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: userland atomics
On Fri, Dec 12, 2008 at 06:58:10PM -0800, John Nemeth wrote:
> Do we have any kind of atomic operations in userland? I'm working
> with Asterisk 18.104.22.168 on NetBSD 5.99.3. Its configure script trys to
> link this program (along with a lot of #define):
> main ()
> int foo1; int foo2 = __sync_fetch_and_add(&foo1, 1);
> return 0;
> For some reason, the corfigure script believes that it is successful;
> however, linking of Asterisk fails later due to a missing symbol.
The interesting thing is that this didn't happen in 4.99.72 (from ~ mid-
August 2008); I was able to configure and build a couple of the Asterisk
1.6 betas succesfully, and had no trouble with 22.214.171.124.
My round-toit supply has been short but maybe I'll upgrade one of my
4.99.72 systems to 5.0_BETA and see what differs there.
Time is an illusion; lunchtime, doubly so. |/\/\| Rafal Boni
-- Ford Prefect |\/\/|
Main Index |
Thread Index |