RE: [win32gui] [perl-win32-gui-users] Multi-Threaded Example

2006-02-08 Thread Jeremy White
I must say, while I never expected to cause such a raucous when posting my threading example(s), it certainly is good to have a nice lively debate on the list :) :) I think that in the end we'll have multiple ways available for multiple situations by which unaccustomed will be able to choose f

[win32gui] [perl-win32-gui-users] Multi-Threaded Example

2006-02-08 Thread Plum, Jason
Hello and good morning all, I must say, while I never expected to cause such a raucous when posting my threading example(s), it certainly is good to have a nice lively debate on the list :) I think that in the end we'll have multiple ways available for multiple situations by which unaccustomed wi

Re: [win32gui] Re: [perl-win32-gui-users] Multi-Threaded Example

2006-02-08 Thread Jeremy White
Do you mean to say you pass something other than window/screen updates as messages? Cos in my experience if the parent thread is in Dialog() it dosent need to be woken up for updates to the screen. We may be getting wires cross slightly - my poor explanation no doubt:) When a thread is blocki

Re: [win32gui] Re: [perl-win32-gui-users] Multi-Threaded Example

2006-02-08 Thread Emmanuel E
> The problem is how to do send messages back to the parent thread if it is > Dialog - it has to be "woken" up by a message from the windows queue - > which > is what happens in 3 above. > Do you mean to say you pass something other than window/screen updates as messages? Cos in my experience i

Re: [win32gui] Re: [perl-win32-gui-users] Multi-Threaded Example

2006-02-08 Thread Jeremy White
Rob/Jeremy, I went through the ThreadUtils code and this is what I understood: 1) Youre using a Hook to trap events/messages sent to window controls 2) These are enqueued 3) The trapped events/messages are passed onto the thread waiting on that queue All the above is packaged and the user sees two

Re: [win32gui] Re: [perl-win32-gui-users] Multi-Threaded Example

2006-02-08 Thread Emmanuel E
Hi Everyone, I guess I've got a lot of catching up and reading to do! Rob/Jeremy, I went through the ThreadUtils code and this is what I understood: 1) Youre using a Hook to trap events/messages sent to window controls 2) These are enqueued 2) The trapped events/messages are passed onto the thre

[perl-win32-gui-users] Multi-Threaded Examples

2006-02-08 Thread Jeremy White
All, Below are two examples of threaded win32-gui programmes that use Rob's new extension. I have included them here to show how easy and powerful threaded programming will become in new versions of Win32-GUI. Hopefully they will stimulate some debate, which will make things even better:) Both