[haiku-bugs] Re: [Haiku] #11797: Calling getpid() from constructor of global static object returns 0

  • From: "korli" <trac@xxxxxxxxxxxx>
  • Date: Mon, 26 Jan 2015 22:23:15 -0000

#11797: Calling getpid() from constructor of global static object returns 0
----------------------------+----------------------------
   Reporter:  tokoe         |      Owner:  nobody
       Type:  bug           |     Status:  new
   Priority:  normal        |  Milestone:  R1
  Component:  System/POSIX  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  x86
----------------------------+----------------------------

Comment (by korli):

 Implemented by Axel in 2003 btw:
 http://cgit.haiku-
 
os.org/haiku/commit/src/kernel/libroot/posix/unistd/process.c?id=28d9e59387c3c9dbdc6e569d04c53c39895e9e15

--
Ticket URL: <https://dev.haiku-os.org/ticket/11797#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: