Patch Name: PHCO_24963 Patch Description: s700_800 11.00 pthread(3t) cumulative man page patch Creation Date: 01/09/18 Post Date: 01/09/20 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: ProgSupport.PAUX-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHCO_24963 Symptoms: PHCO_24963: ( SR:8606202502 CR:JAGad71676 ) The list of cancellation points is removed from pthread(3t) and a link is provided to thread_safety(5) man page. ( SR:8606209315 CR:JAGad78501 ) The environment variable to be set so that the trace records are not buffered is THR_TRACE_ASYNC and not THR_TRACE_SYNC. PHKL_14999: The pthread(3t) man page does not document the fact that specifying "-D_POSIX_C_SOURCE=199506L" restricts the program being compiled to the POSIX namespace. Defect Description: PHCO_24963: ( SR:8606202502 CR:JAGad71676 ) The list of cancellation points is removed from pthread(3t) and a link is provided to thread_safety(5) man page. Resolution: The list of cancellation points removed from pthread(3t) and link provided to thread_safety(5) man page. ( SR:8606209315 CR:JAGad78501 ) The pthread(3t) man page incorrectly specify that for getting unbuffered trace records the environment variable to be set is THR_TRACE_SYNC , but it should be THR_TRACE_ASYNC. Resolution: THR_TRACE_SYNC is changed to THR_TRACE_ASYNC in pthread(3t). PHKL_14999: Using pthread library interfaces requires "-D_POSIX_C_SOURCE=199506L" to be specified in the compilation command line. However, this restricts the program to interfaces in the POSIX namespaces if the classic ANSI compiler is being used. To use interfaces in the larger X/Open namespaces, "-D_XOPEN_SOURCE_EXTENDED" or "-D_HPUX_SOURCE" must be additionally specified. This restriction is being documented in the man page. SR: 4701389650 8606202502 8606209315 Patch Files: ProgSupport.PAUX-ENG-A-MAN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: /usr/share/man/man3.Z/pthread.3t what(1) Output: ProgSupport.PAUX-ENG-A-MAN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: /usr/share/man/man3.Z/pthread.3t: None cksum(1) Output: ProgSupport.PAUX-ENG-A-MAN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: 2973283610 17750 /usr/share/man/man3.Z/pthread.3t Patch Conflicts: None Patch Dependencies: s700: 11.00: PHCO_23325 s800: 11.00: PHCO_23325 Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_14999 Equivalent Patches: PHCO_24964: s700: 11.11 s800: 11.11 Patch Package Size: 40 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHCO_24963 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_24963.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_24963. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHCO_24963.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_24963.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_24963.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None