mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-17 18:40:14 +00:00
(class __pthread_cleanup_class): Add missing closing braces.
This commit is contained in:
parent
c53320c0c9
commit
63b9245a11
@ -444,8 +444,8 @@ class __pthread_cleanup_class
|
|||||||
~__pthread_cleanup_class () { if (__do_it) __cancel_routine (__cancel_arg); }
|
~__pthread_cleanup_class () { if (__do_it) __cancel_routine (__cancel_arg); }
|
||||||
__setdoit (int __newval) { __do_it = __newval; }
|
__setdoit (int __newval) { __do_it = __newval; }
|
||||||
__defer () { pthread_setcanceltype (PTHREAD_CANCEL_DEFERRED,
|
__defer () { pthread_setcanceltype (PTHREAD_CANCEL_DEFERRED,
|
||||||
&__cancel_type);
|
&__cancel_type); }
|
||||||
__restore () const { pthread_setcanceltype (__cancel_type, 0);
|
__restore () const { pthread_setcanceltype (__cancel_type, 0); }
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Install a cleanup handler: ROUTINE will be called with arguments ARG
|
/* Install a cleanup handler: ROUTINE will be called with arguments ARG
|
||||||
|
Loading…
Reference in New Issue
Block a user