Bug 78907

Summary: <sys/types.h> does not define pthread types
Product: Base System Reporter: Craig Rodrigues <rodrigc>
Component: standardsAssignee: freebsd-standards (Nobody) <standards>
Status: Closed FIXED    
Severity: Affects Only Me CC: threads
Priority: Normal    
Version: 6.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Craig Rodrigues 2005-03-16 03:40:02 UTC
According to:
http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/types.h.html

#include <sys/types.h>
should include the definitions of pthread types.
This was reported by Brooks Davis:
http://lists.freebsd.org/pipermail/freebsd-threads/2005-March/002951.html

FreeBSD's <sys/types> currently does not do this, breaking compilation of some
software like GridEngine.  Creating a new private <sys/_pthreadtypes.h>
header file which is included by <sys/types.h> and <pthread.h>
should solve this problem.
Comment 1 Craig Rodrigues freebsd_committer freebsd_triage 2005-06-01 02:20:31 UTC
State Changed
From-To: open->closed

Patch commited.