Project

General

Profile

Actions

Bug #5303

closed

libpthread.3lib incorrectly describes -lpthread semantics

Added by Joshua M. Clulow almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Start date:
2014-11-10
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

The man page says that -lpthread changes fork(2) semantics from forkall to fork1. The fork(2) page correctly states otherwise: you always get fork1() unless you call forkall() explicitly.

NB: This bug mirrors Joyent bug OS-3392 .

Actions #1

Updated by Electric Monk almost 9 years ago

  • Status changed from Pending RTI to Closed
  • % Done changed from 90 to 100

git commit 556ec55e431687f7cbda8dfa59e1fb2671d79031

commit  556ec55e431687f7cbda8dfa59e1fb2671d79031
Author: Keith M Wesolowski <wesolows@foobazco.org>
Date:   2014-11-11T03:54:15.000Z

    5303 libpthread.3lib incorrectly describes -lpthread semantics
    Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
    Approved by: Gordon Ross <gwr@nexenta.com>

Actions

Also available in: Atom PDF