Changeset 32:4bef4944955f in xplcommon


Ignore:
Timestamp:
01/02/13 14:30:45 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Implemented mutex with test program

Files:
4 added
4 edited

Legend:

Unmodified
Added
Removed
  • src/xplcommon/Makefile.am

    r31 r32  
    2727        types.h                 \
    2828        PseudoRandom.h          \
     29        Thread.h                \
     30        Mutex.h                 \
    2931        Failable.h              \
    30         Thread.h                \
    3132        Waiter.h                \
    3233        WaitableEvent.h         \
  • src/xplcommon/posix/Makefile.am

    r21 r32  
    2121include_xplcommon_posix_HEADERS=\
    2222        Thread.h                \
     23        Mutex.h                 \
    2324        Waitable.h              \
    2425        Waiter.h                \
  • src/xplcommon/win32/Makefile.am

    r26 r32  
    1616include_xplcommon_win32_HEADERS=\
    1717        Thread.h                \
     18        Mutex.h                 \
    1819        EventFailable.h         \
    1920        Event.h                 \
  • test/Makefile.am

    r29 r32  
    11INCLUDES=-I$(top_srcdir)/src
    22
    3 noinst_PROGRAMS=testevent testlocsock testblkstream
     3noinst_PROGRAMS=testevent testlocsock testblkstream testmutex
    44if TARGET_API_POSIX
    55noinst_PROGRAMS+=testrandom
     
    3333endif
    3434
     35testmutex_SOURCES=testmutex.cc
     36testmutex_LDADD=../src/xplcommon/libxplcommon.la
     37if TARGET_API_POSIX
     38testmutex_LDADD+=-lpthread
     39endif
     40if TARGET_API_WIN32
     41testmutex_LDFLAGS=-static-libgcc -static-libstdc++
     42endif
     43
    3544testrandom_SOURCES=testrandom.cc
    3645testrandom_LDADD=../src/xplcommon/libxplcommon.la
Note: See TracChangeset for help on using the changeset viewer.