Changeset 95dab9e for libcfa/src/bits


Ignore:
Timestamp:
Sep 21, 2022, 11:56:16 AM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master, pthread-emulation
Children:
9cd5bd2
Parents:
7f6a7c9
Message:

Changed real_pthread symbols (now cfaabi_pthread) to be protected in libcfathread

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/bits/defs.hfa

    r7f6a7c9 r95dab9e  
    5959void abort( bool signalAbort, const char fmt[], ... ) __attribute__ (( format(printf, 2, 3), __nothrow__, __leaf__, __noreturn__ ));
    6060extern "C" {
    61         #include <pthread.h>
    62         void __cabi_abort( const char fmt[], ... ) __attribute__ (( format(printf, 1, 2), __nothrow__, __leaf__, __noreturn__ ));
    63         int real_pthread_create(pthread_t *_thread, const pthread_attr_t *attr, void *(*start_routine) (void *), void *arg);
    64         int real_pthread_join(pthread_t _thread, void **retval);
    65         pthread_t real_pthread_self(void);
    66         int real_pthread_attr_init(pthread_attr_t *attr);
    67         int real_pthread_attr_destroy(pthread_attr_t *attr);
    68         int real_pthread_attr_setstack( pthread_attr_t *attr, void *stackaddr, size_t stacksize );
    69         int real_pthread_attr_getstacksize( const pthread_attr_t *attr, size_t *stacksize );
    70         int real_pthread_sigqueue(pthread_t _thread, int sig, const union sigval value);
    71         int real_pthread_sigmask( int how, const sigset_t *set, sigset_t *oset);
     61void __cabi_abort( const char fmt[], ... ) __attribute__ (( format(printf, 1, 2), __nothrow__, __leaf__, __noreturn__ ));
    7262}
    7363#endif
Note: See TracChangeset for help on using the changeset viewer.