|
Lines 148-158
void __stdio_cancel_cleanup(void *);
Link Here
|
| 148 |
struct _pthread_cleanup_info __cleanup_info__; \ |
148 |
struct _pthread_cleanup_info __cleanup_info__; \ |
| 149 |
if (__isthreaded) { \ |
149 |
if (__isthreaded) { \ |
| 150 |
_FLOCKFILE(fp); \ |
150 |
_FLOCKFILE(fp); \ |
| 151 |
__pthread_cleanup_push_imp( \ |
151 |
___pthread_cleanup_push_imp( \ |
| 152 |
__stdio_cancel_cleanup, (fp), \ |
152 |
__stdio_cancel_cleanup, (fp), \ |
| 153 |
&__cleanup_info__); \ |
153 |
&__cleanup_info__); \ |
| 154 |
} else { \ |
154 |
} else { \ |
| 155 |
__pthread_cleanup_push_imp( \ |
155 |
___pthread_cleanup_push_imp( \ |
| 156 |
__stdio_cancel_cleanup, NULL, \ |
156 |
__stdio_cancel_cleanup, NULL, \ |
| 157 |
&__cleanup_info__); \ |
157 |
&__cleanup_info__); \ |
| 158 |
} \ |
158 |
} \ |
|
Lines 160-166
void __stdio_cancel_cleanup(void *);
Link Here
|
| 160 |
#define FUNLOCKFILE_CANCELSAFE() \ |
160 |
#define FUNLOCKFILE_CANCELSAFE() \ |
| 161 |
(void)0; \ |
161 |
(void)0; \ |
| 162 |
} \ |
162 |
} \ |
| 163 |
__pthread_cleanup_pop_imp(1); \ |
163 |
___pthread_cleanup_pop_imp(1); \ |
| 164 |
} |
164 |
} |
| 165 |
|
165 |
|
| 166 |
#endif /* _STDIO_LOCAL_H */ |
166 |
#endif /* _STDIO_LOCAL_H */ |