From: Robert M. <rm...@po...> - 2006-10-30 20:45:16
|
jez...@ho... 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. |