Threading for 1.5

View: New views
3 Messages — Rating Filter:   Alert me  

Threading for 1.5

by Jeremy White-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Rob & All,

One area that I personally would like to see improved is the generic support for threading in Win32-GUI. As it stands today, Win32-GUI is thread safe (well I haven't found a problem yet...) with later versions of perl (5.8.7 +). The real difficulty is thread communication in the event driven environment, but most of this has been resolved with Robs thread util package on his home page.  

What I would like to suggest is that the functionality of this package be formally moved into the core codeline. I am more than happy to provide coding, documentation and build various examples of what is (and isn't) possible with threading in Win32-GUI.

Any comments?

Cheers,

Jeremy.






-------------------------------------------------------------------------
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-Hackers mailing list
Perl-Win32-GUI-Hackers@...
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-hackers
http://perl-win32-gui.sourceforge.net/

Re: [win32-gui] Threading for 1.5

by Robert May-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

jez_white@... wrote:
> Rob & All,
>
> One area that I personally would like to see improved is the generic support for threading in Win32-GUI. As it stands today, Win32-GUI is thread safe (well I haven't found a problem yet...) with later versions of perl (5.8.7 +). The real difficulty is thread communication in the event driven environment, but most of this has been resolved with Robs thread util package on his home page.  
>
> What I would like to suggest is that the functionality of this package be formally moved into the core codeline. I am more than happy to provide coding, documentation and build various examples of what is (and isn't) possible with threading in Win32-GUI.
>
> Any comments?

I have no issues if you'd like to take the code that I started and
integrate it.  I'd suggest using the Makefile.PL from one of the newer
sub-modules as a starting point ...

Let me know if I can do anything to help.

As an aside, I think I know why the examples of creating a child window
in a separate tread never worked properly - it's almost certainly
something to do with notifications (and other messages: WM_COLORCTL*
...) that get sent to the control's parent which is in the other thread.
  We may never get that to work, but I think it's worth it for the
things that do work already.

Regards,
Rob.

-------------------------------------------------------------------------
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-Hackers mailing list
Perl-Win32-GUI-Hackers@...
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-hackers
http://perl-win32-gui.sourceforge.net/

Parent Message unknown Re: [win32-gui] Threading for 1.5

by Jeremy White-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Are you planning on doing a quick bug fix 1.5? If so I will wait until its out - as a first step I was just going to integrate the existing module and get a larger example set working. Are you happy with the naming of the module?

Cheers,

jez



-------------------------------------------------------------------------
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-Hackers mailing list
Perl-Win32-GUI-Hackers@...
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-hackers
http://perl-win32-gui.sourceforge.net/
LightInTheBox - Buy quality products at wholesale price!