Changeset f03e11d


Ignore:
Timestamp:
Mar 15, 2021, 5:30:49 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
d0cd933
Parents:
9528767
Message:

Removed cfathread_suspendFD/cfathread_resumeFD which is not needed and was not supported

Location:
libcfa/src/concurrency/clib
Files:
2 edited

Legend:

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

    r9528767 rf03e11d  
    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

    r9528767 rf03e11d  
    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}
Note: See TracChangeset for help on using the changeset viewer.