Changes in / [2162c2c:d3a85240]
- Files:
-
- 14 edited
-
configure (modified) (1 diff)
-
configure.ac (modified) (1 diff)
-
src/driver/cfa.cc (modified) (2 diffs)
-
src/libcfa/Makefile.am (modified) (1 diff)
-
src/libcfa/Makefile.in (modified) (11 diffs)
-
src/libcfa/concurrency/threads (modified) (4 diffs)
-
src/libcfa/containers/vector (modified) (2 diffs)
-
src/libcfa/fstream (modified) (3 diffs)
-
src/libcfa/iostream (modified) (4 diffs)
-
src/libcfa/iterator (modified) (3 diffs)
-
src/libcfa/limits (modified) (3 diffs)
-
src/libcfa/math (modified) (4 diffs)
-
src/libcfa/rational (modified) (3 diffs)
-
src/libcfa/stdlib (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
configure
r2162c2c rd3a85240 3214 3214 3215 3215 if test "$includedir" = '${prefix}/include'; then 3216 cfa_incdir="${cfa_prefix}/include /cfa"3216 cfa_incdir="${cfa_prefix}/include" 3217 3217 else 3218 3218 cfa_incdir=${includedir} -
configure.ac
r2162c2c rd3a85240 122 122 123 123 if test "$includedir" = '${prefix}/include'; then 124 cfa_incdir="${cfa_prefix}/include /cfa"124 cfa_incdir="${cfa_prefix}/include" 125 125 else 126 126 cfa_incdir=${includedir} -
src/driver/cfa.cc
r2162c2c rd3a85240 246 246 if ( link ) { 247 247 #if ! defined(HAVE_LIBCFA_RELEASE) 248 if( !debug ) { 248 if( !debug ) { 249 249 cerr << "error: Option -nodebug is not available, libcfa was not installed." << endl; 250 250 exit( EXIT_FAILURE ); … … 252 252 #endif 253 253 #if ! defined(HAVE_LIBCFA_DEBUG) 254 if( debug ) { 254 if( debug ) { 255 255 cerr << "error: Option -debug is not available, libcfa-d was not installed." << endl; 256 256 exit( EXIT_FAILURE ); -
src/libcfa/Makefile.am
r2162c2c rd3a85240 65 65 stdhdr = ${shell echo stdhdr/*} 66 66 67 cfa_includedir = $(includedir)/cfa 68 nobase_cfa_include_HEADERS = ${headers} ${stdhdr} concurrency/invoke.h 67 nobase_include_HEADERS = ${headers} ${stdhdr} concurrency/invoke.h 69 68 70 69 CLEANFILES = libcfa-prelude.c -
src/libcfa/Makefile.in
r2162c2c rd3a85240 42 42 @BUILD_DEBUG_TRUE@am__append_2 = libcfa-d.a 43 43 subdir = src/libcfa 44 DIST_COMMON = $(nobase_ cfa_include_HEADERS) $(srcdir)/Makefile.am \44 DIST_COMMON = $(nobase_include_HEADERS) $(srcdir)/Makefile.am \ 45 45 $(srcdir)/Makefile.in 46 46 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 … … 79 79 $(am__cd) "$$dir" && rm -f $$files; }; \ 80 80 } 81 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$( cfa_includedir)"81 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" 82 82 LIBRARIES = $(lib_LIBRARIES) 83 83 AR = ar … … 144 144 SOURCES = $(libcfa_d_a_SOURCES) $(libcfa_a_SOURCES) 145 145 DIST_SOURCES = $(libcfa_d_a_SOURCES) $(libcfa_a_SOURCES) 146 HEADERS = $(nobase_ cfa_include_HEADERS)146 HEADERS = $(nobase_include_HEADERS) 147 147 ETAGS = etags 148 148 CTAGS = ctags … … 281 281 libcfa_d_a_CFLAGS = -debug -O0 282 282 stdhdr = ${shell echo stdhdr/*} 283 cfa_includedir = $(includedir)/cfa 284 nobase_cfa_include_HEADERS = ${headers} ${stdhdr} concurrency/invoke.h 283 nobase_include_HEADERS = ${headers} ${stdhdr} concurrency/invoke.h 285 284 CLEANFILES = libcfa-prelude.c 286 285 all: all-am … … 762 761 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 763 762 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfa_a_CFLAGS) $(CFLAGS) -c -o concurrency/libcfa_a-invoke.obj `if test -f 'concurrency/invoke.c'; then $(CYGPATH_W) 'concurrency/invoke.c'; else $(CYGPATH_W) '$(srcdir)/concurrency/invoke.c'; fi` 764 install-nobase_ cfa_includeHEADERS: $(nobase_cfa_include_HEADERS)763 install-nobase_includeHEADERS: $(nobase_include_HEADERS) 765 764 @$(NORMAL_INSTALL) 766 test -z "$( cfa_includedir)" || $(MKDIR_P) "$(DESTDIR)$(cfa_includedir)"767 @list='$(nobase_ cfa_include_HEADERS)'; test -n "$(cfa_includedir)" || list=; \765 test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)" 766 @list='$(nobase_include_HEADERS)'; test -n "$(includedir)" || list=; \ 768 767 $(am__nobase_list) | while read dir files; do \ 769 768 xfiles=; for file in $$files; do \ … … 772 771 test -z "$$xfiles" || { \ 773 772 test "x$$dir" = x. || { \ 774 echo "$(MKDIR_P) '$(DESTDIR)$( cfa_includedir)/$$dir'"; \775 $(MKDIR_P) "$(DESTDIR)$( cfa_includedir)/$$dir"; }; \776 echo " $(INSTALL_HEADER) $$xfiles '$(DESTDIR)$( cfa_includedir)/$$dir'"; \777 $(INSTALL_HEADER) $$xfiles "$(DESTDIR)$( cfa_includedir)/$$dir" || exit $$?; }; \773 echo "$(MKDIR_P) '$(DESTDIR)$(includedir)/$$dir'"; \ 774 $(MKDIR_P) "$(DESTDIR)$(includedir)/$$dir"; }; \ 775 echo " $(INSTALL_HEADER) $$xfiles '$(DESTDIR)$(includedir)/$$dir'"; \ 776 $(INSTALL_HEADER) $$xfiles "$(DESTDIR)$(includedir)/$$dir" || exit $$?; }; \ 778 777 done 779 778 780 uninstall-nobase_ cfa_includeHEADERS:779 uninstall-nobase_includeHEADERS: 781 780 @$(NORMAL_UNINSTALL) 782 @list='$(nobase_ cfa_include_HEADERS)'; test -n "$(cfa_includedir)" || list=; \781 @list='$(nobase_include_HEADERS)'; test -n "$(includedir)" || list=; \ 783 782 $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \ 784 dir='$(DESTDIR)$( cfa_includedir)'; $(am__uninstall_files_from_dir)783 dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir) 785 784 786 785 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) … … 870 869 all-am: Makefile $(LIBRARIES) $(HEADERS) 871 870 installdirs: 872 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$( cfa_includedir)"; do \871 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; do \ 873 872 test -z "$$dir" || $(MKDIR_P) "$$dir"; \ 874 873 done … … 930 929 info-am: 931 930 932 install-data-am: install-nobase_ cfa_includeHEADERS931 install-data-am: install-nobase_includeHEADERS 933 932 934 933 install-dvi: install-dvi-am … … 976 975 ps-am: 977 976 978 uninstall-am: uninstall-libLIBRARIES \ 979 uninstall-nobase_cfa_includeHEADERS 977 uninstall-am: uninstall-libLIBRARIES uninstall-nobase_includeHEADERS 980 978 981 979 .MAKE: install-am install-strip … … 988 986 install-exec-am install-html install-html-am install-info \ 989 987 install-info-am install-libLIBRARIES install-man \ 990 install-nobase_ cfa_includeHEADERS install-pdf install-pdf-am \988 install-nobase_includeHEADERS install-pdf install-pdf-am \ 991 989 install-ps install-ps-am install-strip installcheck \ 992 990 installcheck-am installdirs maintainer-clean \ … … 994 992 mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ 995 993 tags uninstall uninstall-am uninstall-libLIBRARIES \ 996 uninstall-nobase_ cfa_includeHEADERS994 uninstall-nobase_includeHEADERS 997 995 998 996 -
src/libcfa/concurrency/threads
r2162c2c rd3a85240 14 14 // Update Count : 0 15 15 // 16 17 #ifdef __CFORALL__ 16 18 17 19 #ifndef THREADS_H … … 73 75 coroutine* src = this_coroutine(); // optimization 74 76 75 assertf( src->last != 0, 77 assertf( src->last != 0, 76 78 "Attempt to suspend coroutine %.256s (%p) that has never been resumed.\n" 77 79 "Possible cause is a suspend executed in a member called by a coroutine user rather than by the coroutine main.", 78 80 src->name, src ); 79 assertf( src->last->notHalted, 81 assertf( src->last->notHalted, 80 82 "Attempt by coroutine %.256s (%p) to suspend back to terminated coroutine %.256s (%p).\n" 81 83 "Possible cause is terminated coroutine's main routine has already returned.", … … 98 100 // not resuming self ? 99 101 if ( src != dst ) { 100 assertf( dst->notHalted , 102 assertf( dst->notHalted , 101 103 "Attempt by coroutine %.256s (%p) to resume terminated coroutine %.256s (%p).\n" 102 104 "Possible cause is terminated coroutine's main routine has already returned.", … … 113 115 #endif //THREADS_H 114 116 117 #else 118 #include_next <thread> 119 #endif //__CFORALL__ 120 115 121 // Local Variables: // 116 122 // mode: c // -
src/libcfa/containers/vector
r2162c2c rd3a85240 13 13 // Update Count : 2 14 14 // 15 16 #ifdef __CFORALL__ 15 17 16 18 #ifndef VECTOR_H … … 168 170 #endif // VECTOR_H 169 171 172 #else 173 #include_next <vector> 174 #endif //__CFORALL__ 175 170 176 // Local Variables: // 171 177 // mode: c // -
src/libcfa/fstream
r2162c2c rd3a85240 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // fstream -- 7 // fstream -- 8 8 // 9 9 // Author : Peter A. Buhr … … 13 13 // Update Count : 88 14 14 // 15 16 #ifdef __CFORALL__ 15 17 16 18 #ifndef __FSTREAM_H__ … … 62 64 #endif // __FSTREAM_H__ 63 65 66 #else 67 #include_next <fstream> 68 #endif //__CFORALL__ 69 64 70 // Local Variables: // 65 71 // mode: c // 66 72 // tab-width: 4 // 67 73 // End: // 74 -
src/libcfa/iostream
r2162c2c rd3a85240 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // iostream -- 7 // iostream -- 8 8 // 9 9 // Author : Peter A. Buhr … … 13 13 // Update Count : 93 14 14 // 15 16 #ifdef __CFORALL__ 15 17 16 18 #ifndef __IOSTREAM_H__ … … 26 28 void sepReset( ostype *, _Bool ); // set separator and default state 27 29 void sepSet( ostype *, const char * ); // set separator to string (15 character maximum) 28 const char * sepGet( ostype * ); // get separator string 30 const char * sepGet( ostype * ); // get separator string 29 31 _Bool sepDisable( ostype * ); // set default state to off, and return previous state 30 32 _Bool sepEnable( ostype * ); // set default state to on, and return previous state … … 126 128 #endif // __IOSTREAM_H 127 129 130 #else 131 #include_next <iostream> 132 #endif //__CFORALL__ 133 128 134 // Local Variables: // 129 135 // mode: c // -
src/libcfa/iterator
r2162c2c rd3a85240 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // iterator -- 7 // iterator -- 8 8 // 9 9 // Author : Richard C. Bilson … … 13 13 // Update Count : 9 14 14 // 15 16 #ifdef __CFORALL__ 15 17 16 18 #ifndef ITERATOR_H … … 46 48 #endif // ITERATOR_H 47 49 50 #else 51 #include_next <iterator> 52 #endif //__CFORALL__ 53 48 54 // Local Variables: // 49 55 // mode: c // -
src/libcfa/limits
r2162c2c rd3a85240 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // limits -- 8 // 6 // 7 // limits -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Wed Apr 6 18:06:52 2016 … … 12 12 // Last Modified On : Wed Apr 6 21:08:16 2016 13 13 // Update Count : 6 14 // 14 // 15 16 #ifdef __CFORALL__ 15 17 16 18 #ifndef LIMITS_H … … 112 114 #endif // LIMITS_H 113 115 116 #else 117 #include_next <limits> 118 #endif //__CFORALL__ 119 114 120 // Local Variables: // 115 121 // mode: c // -
src/libcfa/math
r2162c2c rd3a85240 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo 3 3 // … … 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // math -- 8 // 7 // math -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Mon Apr 18 23:37:04 2016 … … 12 12 // Last Modified On : Sun Apr 24 12:45:02 2016 13 13 // Update Count : 59 14 // 14 // 15 16 #ifdef __CFORALL__ 15 17 16 18 #ifndef MATH_H … … 354 356 #endif // MATH_H 355 357 358 #else 359 #include_next <math> 360 #endif //__CFORALL__ 361 356 362 // Local Variables: // 357 363 // mode: c // -
src/libcfa/rational
r2162c2c rd3a85240 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 6 // 7 7 // rational -- Rational numbers are numbers written as a ratio, i.e., as a fraction, where the numerator (top number) 8 8 // and the denominator (bottom number) are whole numbers. When creating and computing with rational numbers, results 9 9 // are constantly reduced to keep the numerator and denominator as small as possible. 10 // 10 // 11 11 // Author : Peter A. Buhr 12 12 // Created On : Wed Apr 6 17:56:25 2016 … … 14 14 // Last Modified On : Wed May 4 14:11:45 2016 15 15 // Update Count : 16 16 // 16 // 17 #ifdef __CFORALL__ 18 17 19 #ifndef RATIONAL_H 18 20 #define RATIONAL_H … … 65 67 #endif // RATIONAL_H 66 68 69 #else 70 #include_next <rational> 71 #endif //__CFORALL__ 72 67 73 // Local Variables: // 68 74 // mode: c // -
src/libcfa/stdlib
r2162c2c rd3a85240 13 13 // Update Count : 99 14 14 // 15 16 #ifdef __CFORALL__ 15 17 16 18 #ifndef STDLIB_H … … 136 138 #endif // STDLIB_H 137 139 140 #else 141 #include_next <stdlib> 142 #endif //__CFORALL__ 143 138 144 // Local Variables: // 139 145 // mode: c //
Note:
See TracChangeset
for help on using the changeset viewer.