Changeset 7f81ef4 for libcfa/src
- Timestamp:
- Oct 27, 2022, 10:45:30 AM (2 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 878cfcc
- Parents:
- eb9f7f9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/interpose_thread.cfa
reb9f7f9 r7f81ef4 74 74 int (*pthread_sigmask)(int how, const sigset_t *set, sigset_t *oldset); 75 75 int (*pthread_sigqueue)(pthread_t _thread, int sig, const union sigval value); 76 int (*pthread_once)(pthread_once_t *once_control, void (*init_routine)(void)); 76 77 } __cabi_libpthread; 77 78 … … 91 92 INTERPOSE( pthread_sigmask , version ); 92 93 INTERPOSE( pthread_sigqueue , version ); 94 INTERPOSE( pthread_once , version ); 93 95 #pragma GCC diagnostic pop 94 96 } … … 105 107 return __cabi_libpthread.pthread_self(); 106 108 } 109 107 110 int __cfaabi_pthread_attr_init(pthread_attr_t *attr){ 108 111 return __cabi_libpthread.pthread_attr_init(attr); 109 112 } 113 110 114 int __cfaabi_pthread_attr_destroy(pthread_attr_t *attr){ 111 115 return __cabi_libpthread.pthread_attr_destroy(attr); 112 116 } 117 113 118 int __cfaabi_pthread_attr_setstack( pthread_attr_t *attr, void *stackaddr, size_t stacksize ){ 114 119 return __cabi_libpthread.pthread_attr_setstack(attr, stackaddr, stacksize); 115 120 } 121 116 122 int read_pthread_attr_getstacksize( const pthread_attr_t *attr, size_t *stacksize ){ 117 123 return __cabi_libpthread.pthread_attr_getstacksize(attr, stacksize); 118 124 } 125 119 126 int __cfaabi_pthread_sigmask(int how, const sigset_t *set, sigset_t *oldset){ 120 127 return __cabi_libpthread.pthread_sigmask(how, set, oldset); 121 128 } 122 int __cfaabi_pthread_sigqueue(pthread_t _thread, int sig, const union sigval value){ 129 130 int __cfaabi_pthread_sigqueue(pthread_t _thread, int sig, const union sigval value) { 123 131 return __cabi_libpthread.pthread_sigqueue(_thread, sig, value); 124 132 } 133 134 int __cfaabi_pthread_once(pthread_once_t *once_control, void (*init_routine)(void)) { 135 return __cabi_libpthread.pthread_once(once_control, init_routine); 136 } 125 137 }
Note: See TracChangeset
for help on using the changeset viewer.