From efrias@efrias.async.vt.edu  Sun Aug 17 00:24:44 1997
Received: from efrias.async.vt.edu (efrias.async.vt.edu [128.173.17.164])
          by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA14301
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 17 Aug 1997 00:24:40 -0700 (PDT)
Received: (from root@localhost)
	by efrias.async.vt.edu (8.8.5/8.8.5) id DAA20325;
	Sun, 17 Aug 1997 03:26:34 GMT
Message-Id: <199708170326.DAA20325@efrias.async.vt.edu>
Date: Sun, 17 Aug 1997 03:26:34 GMT
From: Eric Frias <efrias@functional.com>
Reply-To: efrias@functional.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: pthread_cleanup_{push|pop} nonexistent
X-Send-Pr-Version: 3.2

>Number:         4316
>Category:       misc
>Synopsis:       pthread_cleanup_{push|pop} nonexistent
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 17 00:30:01 PDT 1997
>Closed-Date:    Mon Nov 24 18:10:08 PST 1997
>Last-Modified:  Mon Nov 24 18:13:35 PST 1997
>Originator:     Eric Frias
>Release:        FreeBSD 2.2.2-RELEASE i386
>Organization:
FIS Technologies
>Environment:

Standard 2.2.2 installation

>Description:

The functions pthread_cleanup_push and pthread_cleanup_pop aren't in libc_r
where they are supposed to be.  "man pthread" says that they exist, but
they really don't.  There are functions _thread_cleanup_push and 
_thread_cleanup_pop which should probably be renamed.

>How-To-Repeat:

Compile anything with that function.

>Fix:
	
Remove the pthread_cleanup_* functions from the pthread man page or add
them to libc_r.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: alex 
State-Changed-When: Mon Nov 24 18:10:08 PST 1997 
State-Changed-Why:  
pthread_cleanup_(push|pop) can be found in uthread_clean.c. 
>Unformatted:
