Re[4]: [Haskell-cafe] What's a thread doing / Erlang-style processes / Message passing

2005-12-07 Thread Bulat Ziganshin
Hello Joel, Tuesday, December 06, 2005, 8:30:32 PM, you wrote: JR Assuming I typed events like that I think I would need a typed sink JR for them as well. I only have one sink for the events and that is my JR message queue. i don't understand you. remember that i'm not native English

[Haskell-cafe] What's a thread doing / Erlang-style processes / Message passing

2005-12-06 Thread Joel Reymont
I'm finding myself in dire need of monitoring the Haskell runtime. More precisely, I would like to know what each that I launch is doing at a given point in time. Is there a way to obtain this information now? I would be fine with knowing if a thread is blocking on a foreign call, MVar or

RE: [Haskell-cafe] What's a thread doing / Erlang-style processes /Message passing

2005-12-06 Thread Simon Marlow
On 06 December 2005 10:28, Joel Reymont wrote: I'm finding myself in dire need of monitoring the Haskell runtime. More precisely, I would like to know what each that I launch is doing at a given point in time. Is there a way to obtain this information now? I would be fine with knowing if a

Re: [Haskell-cafe] What's a thread doing / Erlang-style processes / Message passing

2005-12-06 Thread Bulat Ziganshin
Hello Joel, Tuesday, December 06, 2005, 1:27:58 PM, you wrote: JR #1 reading messages from a socket and posting to #3, JR #2 reading messages sent by #3 and writing to the socket, JR #3 reading messages sent by #1, processing them and posting to #2. what you get by dividing this into 3 threads?

Re[2]: [Haskell-cafe] What's a thread doing / Erlang-style processes / Message passing

2005-12-06 Thread Bulat Ziganshin
Hello Joel, Tuesday, December 06, 2005, 5:12:55 PM, you wrote: using Dynamic have meaning only if you don't know at compile time what messsages can be sent. is that really the case? JR That is correct. I deliver a scripting library and users can create JR messages of their own. creators of

Re: Re[2]: [Haskell-cafe] What's a thread doing / Erlang-style processes / Message passing

2005-12-06 Thread Joel Reymont
Assuming I typed events like that I think I would need a typed sink for them as well. I only have one sink for the events and that is my message queue. I expect users to want User X, User Y, User Z within the same module and that's why I used Dynamic. On Dec 6, 2005, at 4:07 PM, Bulat