Changeset 981bdc6 for src/libcfa
- Timestamp:
- Jan 12, 2017, 2:05:49 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- f3b0a07
- Parents:
- 2298a7b8 (diff), 3fe34ae (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- src/libcfa
- Files:
-
- 11 edited
-
Makefile.am (modified) (1 diff)
-
Makefile.in (modified) (11 diffs)
-
concurrency/threads (modified) (4 diffs)
-
containers/vector (modified) (2 diffs)
-
fstream (modified) (3 diffs)
-
iostream (modified) (4 diffs)
-
iterator (modified) (3 diffs)
-
limits (modified) (3 diffs)
-
math (modified) (4 diffs)
-
rational (modified) (3 diffs)
-
stdlib (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/Makefile.am
r2298a7b8 r981bdc6 65 65 stdhdr = ${shell echo stdhdr/*} 66 66 67 nobase_include_HEADERS = ${headers} ${stdhdr} concurrency/invoke.h 67 cfa_includedir = $(includedir)/cfa 68 nobase_cfa_include_HEADERS = ${headers} ${stdhdr} concurrency/invoke.h 68 69 69 70 CLEANFILES = libcfa-prelude.c -
src/libcfa/Makefile.in
r2298a7b8 r981bdc6 42 42 @BUILD_DEBUG_TRUE@am__append_2 = libcfa-d.a 43 43 subdir = src/libcfa 44 DIST_COMMON = $(nobase_ include_HEADERS) $(srcdir)/Makefile.am \44 DIST_COMMON = $(nobase_cfa_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)$( includedir)"81 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cfa_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_ include_HEADERS)146 HEADERS = $(nobase_cfa_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 nobase_include_HEADERS = ${headers} ${stdhdr} concurrency/invoke.h 283 cfa_includedir = $(includedir)/cfa 284 nobase_cfa_include_HEADERS = ${headers} ${stdhdr} concurrency/invoke.h 284 285 CLEANFILES = libcfa-prelude.c 285 286 all: all-am … … 761 762 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 762 763 @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` 763 install-nobase_ includeHEADERS: $(nobase_include_HEADERS)764 install-nobase_cfa_includeHEADERS: $(nobase_cfa_include_HEADERS) 764 765 @$(NORMAL_INSTALL) 765 test -z "$( includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"766 @list='$(nobase_ include_HEADERS)'; test -n "$(includedir)" || list=; \766 test -z "$(cfa_includedir)" || $(MKDIR_P) "$(DESTDIR)$(cfa_includedir)" 767 @list='$(nobase_cfa_include_HEADERS)'; test -n "$(cfa_includedir)" || list=; \ 767 768 $(am__nobase_list) | while read dir files; do \ 768 769 xfiles=; for file in $$files; do \ … … 771 772 test -z "$$xfiles" || { \ 772 773 test "x$$dir" = x. || { \ 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 $$?; }; \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 $$?; }; \ 777 778 done 778 779 779 uninstall-nobase_ includeHEADERS:780 uninstall-nobase_cfa_includeHEADERS: 780 781 @$(NORMAL_UNINSTALL) 781 @list='$(nobase_ include_HEADERS)'; test -n "$(includedir)" || list=; \782 @list='$(nobase_cfa_include_HEADERS)'; test -n "$(cfa_includedir)" || list=; \ 782 783 $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \ 783 dir='$(DESTDIR)$( includedir)'; $(am__uninstall_files_from_dir)784 dir='$(DESTDIR)$(cfa_includedir)'; $(am__uninstall_files_from_dir) 784 785 785 786 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) … … 869 870 all-am: Makefile $(LIBRARIES) $(HEADERS) 870 871 installdirs: 871 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$( includedir)"; do \872 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cfa_includedir)"; do \ 872 873 test -z "$$dir" || $(MKDIR_P) "$$dir"; \ 873 874 done … … 929 930 info-am: 930 931 931 install-data-am: install-nobase_ includeHEADERS932 install-data-am: install-nobase_cfa_includeHEADERS 932 933 933 934 install-dvi: install-dvi-am … … 975 976 ps-am: 976 977 977 uninstall-am: uninstall-libLIBRARIES uninstall-nobase_includeHEADERS 978 uninstall-am: uninstall-libLIBRARIES \ 979 uninstall-nobase_cfa_includeHEADERS 978 980 979 981 .MAKE: install-am install-strip … … 986 988 install-exec-am install-html install-html-am install-info \ 987 989 install-info-am install-libLIBRARIES install-man \ 988 install-nobase_ includeHEADERS install-pdf install-pdf-am \990 install-nobase_cfa_includeHEADERS install-pdf install-pdf-am \ 989 991 install-ps install-ps-am install-strip installcheck \ 990 992 installcheck-am installdirs maintainer-clean \ … … 992 994 mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ 993 995 tags uninstall uninstall-am uninstall-libLIBRARIES \ 994 uninstall-nobase_ includeHEADERS996 uninstall-nobase_cfa_includeHEADERS 995 997 996 998 -
src/libcfa/concurrency/threads
r2298a7b8 r981bdc6 14 14 // Update Count : 0 15 15 // 16 17 #ifdef __CFORALL__18 16 19 17 #ifndef THREADS_H … … 75 73 coroutine* src = this_coroutine(); // optimization 76 74 77 assertf( src->last != 0, 75 assertf( src->last != 0, 78 76 "Attempt to suspend coroutine %.256s (%p) that has never been resumed.\n" 79 77 "Possible cause is a suspend executed in a member called by a coroutine user rather than by the coroutine main.", 80 78 src->name, src ); 81 assertf( src->last->notHalted, 79 assertf( src->last->notHalted, 82 80 "Attempt by coroutine %.256s (%p) to suspend back to terminated coroutine %.256s (%p).\n" 83 81 "Possible cause is terminated coroutine's main routine has already returned.", … … 100 98 // not resuming self ? 101 99 if ( src != dst ) { 102 assertf( dst->notHalted , 100 assertf( dst->notHalted , 103 101 "Attempt by coroutine %.256s (%p) to resume terminated coroutine %.256s (%p).\n" 104 102 "Possible cause is terminated coroutine's main routine has already returned.", … … 115 113 #endif //THREADS_H 116 114 117 #else118 #include_next <thread>119 #endif //__CFORALL__120 121 115 // Local Variables: // 122 116 // mode: c // -
src/libcfa/containers/vector
r2298a7b8 r981bdc6 13 13 // Update Count : 2 14 14 // 15 16 #ifdef __CFORALL__17 15 18 16 #ifndef VECTOR_H … … 170 168 #endif // VECTOR_H 171 169 172 #else173 #include_next <vector>174 #endif //__CFORALL__175 176 170 // Local Variables: // 177 171 // mode: c // -
src/libcfa/fstream
r2298a7b8 r981bdc6 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__17 15 18 16 #ifndef __FSTREAM_H__ … … 64 62 #endif // __FSTREAM_H__ 65 63 66 #else67 #include_next <fstream>68 #endif //__CFORALL__69 70 64 // Local Variables: // 71 65 // mode: c // 72 66 // tab-width: 4 // 73 67 // End: // 74 -
src/libcfa/iostream
r2298a7b8 r981bdc6 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__17 15 18 16 #ifndef __IOSTREAM_H__ … … 28 26 void sepReset( ostype *, _Bool ); // set separator and default state 29 27 void sepSet( ostype *, const char * ); // set separator to string (15 character maximum) 30 const char * sepGet( ostype * ); // get separator string 28 const char * sepGet( ostype * ); // get separator string 31 29 _Bool sepDisable( ostype * ); // set default state to off, and return previous state 32 30 _Bool sepEnable( ostype * ); // set default state to on, and return previous state … … 128 126 #endif // __IOSTREAM_H 129 127 130 #else131 #include_next <iostream>132 #endif //__CFORALL__133 134 128 // Local Variables: // 135 129 // mode: c // -
src/libcfa/iterator
r2298a7b8 r981bdc6 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__17 15 18 16 #ifndef ITERATOR_H … … 48 46 #endif // ITERATOR_H 49 47 50 #else51 #include_next <iterator>52 #endif //__CFORALL__53 54 48 // Local Variables: // 55 49 // mode: c // -
src/libcfa/limits
r2298a7b8 r981bdc6 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 // 15 16 #ifdef __CFORALL__ 14 // 17 15 18 16 #ifndef LIMITS_H … … 114 112 #endif // LIMITS_H 115 113 116 #else117 #include_next <limits>118 #endif //__CFORALL__119 120 114 // Local Variables: // 121 115 // mode: c // -
src/libcfa/math
r2298a7b8 r981bdc6 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 // 15 16 #ifdef __CFORALL__ 14 // 17 15 18 16 #ifndef MATH_H … … 356 354 #endif // MATH_H 357 355 358 #else359 #include_next <math>360 #endif //__CFORALL__361 362 356 // Local Variables: // 363 357 // mode: c // -
src/libcfa/rational
r2298a7b8 r981bdc6 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 // 17 #ifdef __CFORALL__ 18 16 // 19 17 #ifndef RATIONAL_H 20 18 #define RATIONAL_H … … 67 65 #endif // RATIONAL_H 68 66 69 #else70 #include_next <rational>71 #endif //__CFORALL__72 73 67 // Local Variables: // 74 68 // mode: c // -
src/libcfa/stdlib
r2298a7b8 r981bdc6 13 13 // Update Count : 99 14 14 // 15 16 #ifdef __CFORALL__17 15 18 16 #ifndef STDLIB_H … … 138 136 #endif // STDLIB_H 139 137 140 #else141 #include_next <stdlib>142 #endif //__CFORALL__143 144 138 // Local Variables: // 145 139 // mode: c //
Note:
See TracChangeset
for help on using the changeset viewer.