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

  • From: "tokoe" <trac@xxxxxxxxxxxx>
  • Date: Mon, 26 Jan 2015 19:04:44 -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
----------------------------+----------------------------

Attachment added (by tokoe):

main.cpp (289 bytes) - test case that demonstrate the problem

View the file at https://dev.haiku-os.org/attachment/ticket/11797/main.cpp

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

Other related posts: