From: Paul Davis (paul_at_linuxaudiosystems.com)
Date: 08/08/03 12:15 EDT
Message-Id: <200308081615.h78GFF8S003225@localhost.localdomain>
Subject: Re: [ardour-dev] a little problem with atomic.h
From: Paul Davis <paul@linuxaudiosystems.com>
Date: Fri, 08 Aug 2003 12:15:15 -0400
>I would prefer some kind of compare-and-swap or exchange operation for
>this, but atomic.h does not provide one. The comment about "not
>"bothering with" atomic.h was prompted by exactly the problems we are
>discussing.
yes, i don't understand why test-and-set and/or compare-and-swap are not
in the kernel atomic.h headers. i would very much like functions for
them as well.
>> not sure of the right solution at this point.
>
>As I see it, there are several options, all bad:
4) copy the contents of the kernel atomic.h files into a single file,
complete with appropriate #ifdef's for architecture etc.
(4) is what ardour uses. it doesn't solve the SMP problem, obviously.
--p
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
ardour-dev mailing list
ardour-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ardour-dev
This archive was generated by hypermail 2.1.7 : 08/08/03 12:39 EDT