Changeset 2359


Ignore:
Timestamp:
Feb 5, 2013, 3:08:48 AM (7 years ago)
Author:
sam
Message:

sys: Atomic template class for thread-safe and potentially lockless
structures.

Location:
trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile.am

    r2358 r2359  
    4343    \
    4444    lol/sys/sys.h \
    45     lol/sys/init.h lol/sys/file.h lol/sys/thread.h lol/sys/timer.h \
     45    lol/sys/init.h lol/sys/file.h lol/sys/thread.h lol/sys/atomic.h \
     46    lol/sys/timer.h \
    4647    \
    4748    lol/image/image.h \
  • trunk/src/lol/sys/sys.h

    r2358 r2359  
    1212#define __LOL_SYS_SYS_H__
    1313
     14#include <lol/sys/thread.h>
     15#include <lol/sys/atomic.h>
    1416#include <lol/sys/init.h>
    1517#include <lol/sys/file.h>
    16 #include <lol/sys/thread.h>
    1718#include <lol/sys/timer.h>
    1819
  • trunk/src/lolcore.vcxproj

    r2358 r2359  
    607607    <ClInclude Include="lol\math\remez.h" />
    608608    <ClInclude Include="lol\math\vector.h" />
     609    <ClInclude Include="lol\sys\atomic.h" />
    609610    <ClInclude Include="lol\sys\file.h" />
    610611    <ClInclude Include="lol\sys\init.h" />
  • trunk/test/Makefile.am

    r2298 r2359  
    2424    unit/build.cpp unit/real.cpp unit/image.cpp unit/quat.cpp unit/cmplx.cpp \
    2525    unit/array.cpp unit/rotation.cpp unit/string.cpp unit/map.cpp \
    26     unit/color.cpp
     26    unit/color.cpp unit/atomic.cpp
    2727testsuite_CPPFLAGS = @LOL_CFLAGS@
    2828testsuite_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@
Note: See TracChangeset for help on using the changeset viewer.