[haiku-bugs] Re: [Haiku] #7235: JamVM thread continue to wait for signal when sent

  • From: "korli" <trac@xxxxxxxxxxxx>
  • Date: Wed, 23 Feb 2011 22:12:57 -0000

#7235: JamVM thread continue to wait for signal when sent
----------------------------+----------------------------
   Reporter:  korli         |      Owner:  nobody
       Type:  bug           |     Status:  reopened
   Priority:  normal        |  Milestone:  R1
  Component:  System/POSIX  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:  5679          |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------
Changes (by korli):

 * status:  closed => reopened
 * resolution:  duplicate =>


Comment:

 #5679 is indeed a problem but not the only one met with JamVM.
 pthread_kill send signals to a thread which don't receive it, they're not
 killed either. send_signal() is actually called with a thread id 0.

 To init the main thread id when calling pthread_self(), we have to init
 sMainThread correctly.

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

Other related posts: