[EMAIL PROTECTED] wrote:
I haven't got the link handy, but there is a thread util package
> on Rob's home page that will do most of the work for you
> - I think it also contains a few examples.

Win32::GUI::ThreadUtils
http://www.robmay.me.uk/win32gui/


Cheers,

Jez.

Hi,

Most of Win32-GUI is thread safe, and you should be Ok using UserData as
long as the var is itself shared.
You will have problems sharing controls and windows between threads, but
you should be ok with basic types.

I want to put a thread to download some data continuously and assign it to
UserData for the main window after each download, then the main window
should print that data using the main thread.
Could this be done this way?

An alternative approach is to use thread safe queues to handle
communication/data sharing.

Where can I read more about thread safe queues?

Thank you.

Teddy





-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/


--
Robert May
Win32::GUI, a perl extension for native Win32 applications
http://perl-win32-gui.sourceforge.net/


Reply via email to