/[svn]/linuxsampler/trunk/src/common/atomic.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/common/atomic.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1641 by schoenebeck, Wed Jun 28 19:32:21 2006 UTC revision 1642 by nagata, Sun Jan 13 16:36:14 2008 UTC
# Line 17  Line 17 
17      along with this program; if not, write to the Free Software      along with this program; if not, write to the Free Software
18      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19    
20      $Id: atomic.h,v 1.3 2006-06-28 19:32:21 schoenebeck Exp $      $Id: atomic.h,v 1.4 2008-01-13 16:36:13 nagata Exp $
21  */  */
22    
23  //TODO: should we put this into namespace? it might clash with system installed atomic.h, because we need to install atomic.h for the LS API  //TODO: should we put this into namespace? it might clash with system installed atomic.h, because we need to install atomic.h for the LS API
# Line 1240  static __inline__ int atomic_inc_and_tes Line 1240  static __inline__ int atomic_inc_and_tes
1240    
1241  typedef unsigned long atomic_t;  typedef unsigned long atomic_t;
1242    
1243    /* Added by Toshi Nagata, 20071224 */
1244    #define ATOMIC_INIT(i)  { (i) }
1245    
1246  #if defined(__sgi)  #if defined(__sgi)
1247  #undef atomic_set  #undef atomic_set
1248  #endif  #endif

Legend:
Removed from v.1641  
changed lines
  Added in v.1642

  ViewVC Help
Powered by ViewVC