Add _pthread_cleanup_push, _pthread_cleanup_pop.
authordrepper <drepper>
Tue, 23 Sep 2003 04:31:36 +0000 (04:31 +0000)
committerdrepper <drepper>
Tue, 23 Sep 2003 04:31:36 +0000 (04:31 +0000)
linuxthreads/forward.c

index 46cf538..b2a36d7 100644 (file)
@@ -173,3 +173,7 @@ FORWARD (pthread_setcancelstate, (int state, int *oldstate), (state, oldstate),
         0)
 
 FORWARD (pthread_setcanceltype, (int type, int *oldtype), (type, oldtype), 0)
+
+FORWARD2 (_pthread_cleanup_push, void, (struct _pthread_cleanup_buffer * buffer, void (*routine)(void *), void * arg), (buffer, routine, arg), return)
+
+FORWARD2 (_pthread_cleanup_pop, void, (struct _pthread_cleanup_buffer * buffer, int execute), (buffer, execute), return)