Changeset cc18e17 for libcfa/src


Ignore:
Timestamp:
Mar 16, 2021, 11:14:28 AM (5 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

Location:
libcfa/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/clib/cfathread.cfa

    ra196885 rcc18e17  
    115115        int cfathread_join( cfathread_t thrd, void ** retval ) {
    116116                void * ret = join( *thrd ).ret;
    117                 delete( thrd );
     117                ^( *thrd ){};
     118                free(thrd);
    118119                if(retval) {
    119120                        *retval = ret;
     
    250251        }
    251252
    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  
    105105        ssize_t cfathread_read(int fildes, void *buf, size_t nbyte);
    106106
    107         void cfathread_suspendFD(int fd);
    108         void cfathread_resumeFD (int fd);
    109 
    110107#if defined(__cforall) || defined(__cplusplus)
    111108}
  • libcfa/src/stdhdr/math.h

    ra196885 rcc18e17  
    1010// Created On       : Mon Jul  4 23:25:26 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Mar 15 14:02:03 2021
    13 // Update Count     : 17
     12// Last Modified On : Fri Feb  7 19:05:27 2020
     13// Update Count     : 15
    1414//
    1515
    1616extern "C" {
     17#if ! defined( exception )                                                              // nesting ?
     18#define exception ``exception                                                   // make keyword an identifier
     19#define __CFA_MATH_H__
     20#endif
    1721
    1822#include_next <math.h>                                                                  // has internal check for multiple expansion
    1923
     24#if defined( exception ) && defined( __CFA_MATH_H__ )   // reset only if set
     25#undef exception
     26#undef __CFA_MATH_H__
     27#endif
    2028} // extern "C"
    2129
Note: See TracChangeset for help on using the changeset viewer.