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

  • From: "tokoe" <trac@xxxxxxxxxxxx>
  • Date: Wed, 28 Jan 2015 18:09:01 -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 tokoe):

 So is there a chance to fix that behavior (because on other Unix/POSIX
 systems like Linux, FreeBSD or MacOSX it works), or are there any
 technical limitations in the process handling/C runtime of Haiku?

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

Other related posts: