Patch Name: PHCO_27633 Patch Description: s700_800 11.11 Pthread.h fix and new enhancement Creation Date: 02/08/23 Post Date: 02/11/04 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: ProgSupport.C-INC,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair enhancement general_release manual_dependencies Path Name: /hp-ux_patches/s700_800/11.X/PHCO_27633 Symptoms: PHCO_27633: ( SR:8606269542 CR:JAGae33777 ) Enhancement: This product update is a member of a set needed to enable a new mutex type which can be unlocked by a thread other than the owner. The full list of product updates required for this feature are PHCO_27632 and PHCO_27633. PHCO_26914: ( SR:8606237441 CR:JAGae06481 ) An "unexpected symbol : spu_t" compilation error occurs when compiling a program using c89(1) or "cc -Aa" and where the program includes pthread.h. Defect Description: PHCO_27633: ( SR:8606269542 CR:JAGae33777 ) Provide a way to restart mutex operation when a process owning a mutex terminates abnormally. Resolution: Provide a new mutex type PTHREAD_MUTEX_NO_OWNER_NP, which can be unlocked by a thread other than the owner. PHCO_26914: ( SR:8606237441 CR:JAGae06481 ) The "unexpected symbol : spu_t" error is caused by pthread.h incorrectly including HP-UX Processor Sets headers, in which some symbols are defined only if _HPUX_SOURCE is defined. Resolution: The solution is to appropriately conditionalize all HP-UX Processor Sets references in pthread.h. SR: 8606237441 8606269542 Patch Files: ProgSupport.C-INC,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /usr/include/sys/pthread.h what(1) Output: ProgSupport.C-INC,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /usr/include/sys/pthread.h: pthread.h $Date: 2002/08/21 16:13:27 $Revision: r11. 11/2 PATCH_11.11 (PHCO_27633) */ cksum(1) Output: ProgSupport.C-INC,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: 542047975 30069 /usr/include/sys/pthread.h Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: PHCO_27633: To enable the new mutex type which can be unlocked by a thread other than the owner, the following patches PHCO_27632 and PHCO_27633 must be installed. These product updates may be installed in any order. If any of these product updates are not installed, this product update will have no impact on your system. Supersedes: PHCO_26914 Equivalent Patches: None Patch Package Size: 50 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_27633 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_27633.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_27633. 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_27633.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_27633.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_27633.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None