Changeset cc18e17 for libcfa/src
- Timestamp:
- Mar 16, 2021, 11:14:28 AM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 386af65
- Parents:
- a196885 (diff), 05e29f0 (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:
- libcfa/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/clib/cfathread.cfa
ra196885 rcc18e17 115 115 int cfathread_join( cfathread_t thrd, void ** retval ) { 116 116 void * ret = join( *thrd ).ret; 117 delete( thrd ); 117 ^( *thrd ){}; 118 free(thrd); 118 119 if(retval) { 119 120 *retval = ret; … … 250 251 } 251 252 252 void cfathread_suspendFD(int) { 253 abort | "Suspending File Descriptors is not supported"; 254 } 255 256 void cfathread_resumeFD (int) { 257 abort | "Resuming File Descriptors is not supported"; 258 } 259 260 } 253 } -
libcfa/src/concurrency/clib/cfathread.h
ra196885 rcc18e17 105 105 ssize_t cfathread_read(int fildes, void *buf, size_t nbyte); 106 106 107 void cfathread_suspendFD(int fd);108 void cfathread_resumeFD (int fd);109 110 107 #if defined(__cforall) || defined(__cplusplus) 111 108 } -
libcfa/src/stdhdr/math.h
ra196885 rcc18e17 10 10 // Created On : Mon Jul 4 23:25:26 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Mar 15 14:02:03 202113 // Update Count : 1 712 // Last Modified On : Fri Feb 7 19:05:27 2020 13 // Update Count : 15 14 14 // 15 15 16 16 extern "C" { 17 #if ! defined( exception ) // nesting ? 18 #define exception ``exception // make keyword an identifier 19 #define __CFA_MATH_H__ 20 #endif 17 21 18 22 #include_next <math.h> // has internal check for multiple expansion 19 23 24 #if defined( exception ) && defined( __CFA_MATH_H__ ) // reset only if set 25 #undef exception 26 #undef __CFA_MATH_H__ 27 #endif 20 28 } // extern "C" 21 29
Note:
See TracChangeset
for help on using the changeset viewer.