RE: pth_select blocking forever

2005-01-26 Thread Helen.Kim
no. I will see if I can reproduce it.
Thank you.

Helen



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of ext Steve Alstrin
Sent: Wednesday, January 26, 2005 11:50 AM
To: '[email protected]'
Subject: RE: pth_select blocking forever


No I haven't seen it, and I'm using pth in mutiple threads all doing
selects. Are you doing something with signals?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of [EMAIL PROTECTED]
Sent: Wednesday, January 26, 2005 1:41 PM
To: [email protected]
Subject: RE: pth_select blocking forever


It's not easy to reproduce it.  It just happened once.
I was just wondering if anybody has seen this

Helen

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of ext Ralf S. Engelschall
Sent: Wednesday, January 26, 2005 10:58 AM
To: [email protected]
Subject: Re: pth_select blocking forever


On Tue, Jan 25, 2005, [EMAIL PROTECTED] wrote:

> I have two threads.  Both using pth_select() to wait for events.
> But I am seeing a problem where one thread (main thread) is blocked on
> pth_select() forever.
> It's not even timing out.  I do have timer value passed into pth_select().
> Other thread is working fine, getting events from pth_select().
> Is there any case where pth_select() wouldn't even time out?

Do you have a small demo program at hand which deterministically
reproduces this problem so I can debug it?

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
GNU Portable Threads (Pth)http://www.gnu.org/software/pth/
Development Site  http://www.ossp.org/pkg/lib/pth/
Distribution Files  ftp://ftp.gnu.org/gnu/pth/
Distribution Snapshots ftp://ftp.ossp.org/pkg/lib/pth/
User Support Mailing [email protected]
Automated List Manager (Majordomo)   [EMAIL PROTECTED]
__
GNU Portable Threads (Pth)http://www.gnu.org/software/pth/
Development Site  http://www.ossp.org/pkg/lib/pth/
Distribution Files  ftp://ftp.gnu.org/gnu/pth/
Distribution Snapshots ftp://ftp.ossp.org/pkg/lib/pth/
User Support Mailing [email protected]
Automated List Manager (Majordomo)   [EMAIL PROTECTED]
__
GNU Portable Threads (Pth)http://www.gnu.org/software/pth/
Development Site  http://www.ossp.org/pkg/lib/pth/
Distribution Files  ftp://ftp.gnu.org/gnu/pth/
Distribution Snapshots ftp://ftp.ossp.org/pkg/lib/pth/
User Support Mailing [email protected]
Automated List Manager (Majordomo)   [EMAIL PROTECTED]
__
GNU Portable Threads (Pth)http://www.gnu.org/software/pth/
Development Site  http://www.ossp.org/pkg/lib/pth/
Distribution Files  ftp://ftp.gnu.org/gnu/pth/
Distribution Snapshots ftp://ftp.ossp.org/pkg/lib/pth/
User Support Mailing [email protected]
Automated List Manager (Majordomo)   [EMAIL PROTECTED]


RE: pth_select blocking forever

2005-01-26 Thread Steve Alstrin
No I haven't seen it, and I'm using pth in mutiple threads all doing
selects. Are you doing something with signals?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of [EMAIL PROTECTED]
Sent: Wednesday, January 26, 2005 1:41 PM
To: [email protected]
Subject: RE: pth_select blocking forever


It's not easy to reproduce it.  It just happened once.
I was just wondering if anybody has seen this

Helen

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of ext Ralf S. Engelschall
Sent: Wednesday, January 26, 2005 10:58 AM
To: [email protected]
Subject: Re: pth_select blocking forever


On Tue, Jan 25, 2005, [EMAIL PROTECTED] wrote:

> I have two threads.  Both using pth_select() to wait for events.
> But I am seeing a problem where one thread (main thread) is blocked on
> pth_select() forever.
> It's not even timing out.  I do have timer value passed into pth_select().
> Other thread is working fine, getting events from pth_select().
> Is there any case where pth_select() wouldn't even time out?

Do you have a small demo program at hand which deterministically
reproduces this problem so I can debug it?

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
GNU Portable Threads (Pth)http://www.gnu.org/software/pth/
Development Site  http://www.ossp.org/pkg/lib/pth/
Distribution Files  ftp://ftp.gnu.org/gnu/pth/
Distribution Snapshots ftp://ftp.ossp.org/pkg/lib/pth/
User Support Mailing [email protected]
Automated List Manager (Majordomo)   [EMAIL PROTECTED]
__
GNU Portable Threads (Pth)http://www.gnu.org/software/pth/
Development Site  http://www.ossp.org/pkg/lib/pth/
Distribution Files  ftp://ftp.gnu.org/gnu/pth/
Distribution Snapshots ftp://ftp.ossp.org/pkg/lib/pth/
User Support Mailing [email protected]
Automated List Manager (Majordomo)   [EMAIL PROTECTED]
__
GNU Portable Threads (Pth)http://www.gnu.org/software/pth/
Development Site  http://www.ossp.org/pkg/lib/pth/
Distribution Files  ftp://ftp.gnu.org/gnu/pth/
Distribution Snapshots ftp://ftp.ossp.org/pkg/lib/pth/
User Support Mailing [email protected]
Automated List Manager (Majordomo)   [EMAIL PROTECTED]


RE: pth_select blocking forever

2005-01-26 Thread Helen.Kim
It's not easy to reproduce it.  It just happened once.
I was just wondering if anybody has seen this

Helen

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of ext Ralf S. Engelschall
Sent: Wednesday, January 26, 2005 10:58 AM
To: [email protected]
Subject: Re: pth_select blocking forever


On Tue, Jan 25, 2005, [EMAIL PROTECTED] wrote:

> I have two threads.  Both using pth_select() to wait for events.
> But I am seeing a problem where one thread (main thread) is blocked on
> pth_select() forever.
> It's not even timing out.  I do have timer value passed into pth_select().
> Other thread is working fine, getting events from pth_select().
> Is there any case where pth_select() wouldn't even time out?

Do you have a small demo program at hand which deterministically
reproduces this problem so I can debug it?

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
GNU Portable Threads (Pth)http://www.gnu.org/software/pth/
Development Site  http://www.ossp.org/pkg/lib/pth/
Distribution Files  ftp://ftp.gnu.org/gnu/pth/
Distribution Snapshots ftp://ftp.ossp.org/pkg/lib/pth/
User Support Mailing [email protected]
Automated List Manager (Majordomo)   [EMAIL PROTECTED]
__
GNU Portable Threads (Pth)http://www.gnu.org/software/pth/
Development Site  http://www.ossp.org/pkg/lib/pth/
Distribution Files  ftp://ftp.gnu.org/gnu/pth/
Distribution Snapshots ftp://ftp.ossp.org/pkg/lib/pth/
User Support Mailing [email protected]
Automated List Manager (Majordomo)   [EMAIL PROTECTED]


Re: pth_select blocking forever

2005-01-26 Thread Ralf S. Engelschall
On Tue, Jan 25, 2005, [EMAIL PROTECTED] wrote:

> I have two threads.  Both using pth_select() to wait for events.
> But I am seeing a problem where one thread (main thread) is blocked on
> pth_select() forever.
> It's not even timing out.  I do have timer value passed into pth_select().
> Other thread is working fine, getting events from pth_select().
> Is there any case where pth_select() wouldn't even time out?

Do you have a small demo program at hand which deterministically
reproduces this problem so I can debug it?

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
GNU Portable Threads (Pth)http://www.gnu.org/software/pth/
Development Site  http://www.ossp.org/pkg/lib/pth/
Distribution Files  ftp://ftp.gnu.org/gnu/pth/
Distribution Snapshots ftp://ftp.ossp.org/pkg/lib/pth/
User Support Mailing [email protected]
Automated List Manager (Majordomo)   [EMAIL PROTECTED]


pth_select blocking forever

2005-01-25 Thread Helen.Kim



I have two 
threads.  Both using pth_select() to wait for events.
But I am seeing a 
problem where one thread (main thread) is blocked on pth_select() 
forever.
It's not even timing 
out.  I do have timer value passed into pth_select().
Other thread is 
working fine, getting events from pth_select().
Is there any case 
where pth_select() wouldn't even time out?
 
Helen