[Haskell-cafe] Re: [Haskell] Blocked STM GC question

2007-09-18 Thread Jules Bean
Simon Marlow wrote: Ashley Yakeley wrote: If I have a thread that's blocked on an STM retry or TChan read, and none of its TVars are referenced elsewhere, will it get stopped and garbage-collected? I have in mind a pump thread that eternally reads off a TChan and pushes the result to some

[Haskell-cafe] Re: [Haskell] Blocked STM GC question

2007-09-18 Thread Simon Marlow
Jules Bean wrote: Simon Marlow wrote: Ashley Yakeley wrote: If I have a thread that's blocked on an STM retry or TChan read, and none of its TVars are referenced elsewhere, will it get stopped and garbage-collected? I have in mind a pump thread that eternally reads off a TChan and pushes

RE: [Haskell] Blocked STM GC question

2007-09-17 Thread Simon Peyton-Jones
PROTECTED] | On Behalf Of Ashley Yakeley | Sent: 15 September 2007 21:39 | To: [EMAIL PROTECTED] | Subject: [Haskell] Blocked STM GC question | | If I have a thread that's blocked on an STM retry or TChan read, and | none of its TVars are referenced elsewhere, will it get stopped and | garbage-collected

Re: [Haskell] Blocked STM GC question

2007-09-17 Thread Simon Marlow
Ashley Yakeley wrote: If I have a thread that's blocked on an STM retry or TChan read, and none of its TVars are referenced elsewhere, will it get stopped and garbage-collected? I have in mind a pump thread that eternally reads off a TChan and pushes the result to some function. If the TChan

[Haskell] Blocked STM GC question

2007-09-15 Thread Ashley Yakeley
If I have a thread that's blocked on an STM retry or TChan read, and none of its TVars are referenced elsewhere, will it get stopped and garbage-collected? I have in mind a pump thread that eternally reads off a TChan and pushes the result to some function. If the TChan is forgotten