File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -44,15 +44,6 @@ struct __MCF_gthr_thread_record
44
44
uintptr_t __reserved_high ;
45
45
};
46
46
47
- /* Note that this function is obsolescent by `__MCF_gthr_call_once_seh()`, and
48
- * is kept only for compatibility.
49
- * This is an auxiliary function for exception handling in `__gthread_once()`.
50
- * Ideally, if the target function throws exception we would like to allow
51
- * attempts to retry. Sadly this is not possible in standard C. */
52
- __MCF_GTHR_AUX_INLINE
53
- void
54
- __MCF_gthr_unonce (_MCF_once * * __oncep ) __MCF_noexcept ;
55
-
56
47
/* These functions implement `__gthread_once()`. If `__once_fn` initiates stack
57
48
* unwinding, by throwing an exception for example, the state of `*__once` will
58
49
* be restored correctly.
@@ -156,14 +147,6 @@ __MCF_gthr_thread_thunk_v2(_MCF_thread* __thrd) __MCF_noexcept;
156
147
* this file. */
157
148
__MCF_GTHR_AUX_INLINE
158
149
void
159
- __MCF_gthr_unonce (_MCF_once * * __oncep ) __MCF_noexcept
160
- {
161
- if (* __oncep )
162
- _MCF_once_abort (* __oncep );
163
- }
164
-
165
- __MCF_GTHR_AUX_INLINE
166
- void
167
150
__MCF_gthr_call_once_seh (_MCF_once * __once , __MCF_cxa_dtor_any_ __init_proc , void * __arg ) __MCF_MAY_THROW
168
151
{
169
152
int __err = _MCF_once_wait (__once , __MCF_nullptr );
You can’t perform that action at this time.
0 commit comments