Thank you Dean. I will search on perlmunks and try to see if I can adapt something for WxPerl. Unfortunately I can't use Tk because this GUI is absolutely inaccessible for screen readers and I am blind, so I can't test if it even works.

Octavian

----- Original Message ----- From: "Dean Arnold" <[EMAIL PROTECTED]>
To: "Octavian Rasnita" <[EMAIL PROTECTED]>
Cc: <perl-ithreads@perl.org>
Sent: Sunday, April 20, 2008 12:33 AM
Subject: Re: Perl threads under Windows


Octavian Rasnita wrote:

Passing messages to a window might not seem very complicated, but if there are more windows, and many rules based on admin's preferences, on user's schedule, or by user's request, might make the program a spaghetti application. I think what I want to do should be a very common client-server application. Do you know if I could find somewhere such sample apps made in perl?


My suggestion is to try perlmonks.org and do a super
search for "Tk threads"; its been discussed and
coded there numerous times. Here's the most recent:

http://www.perlmonks.com/?node_id=522177

FWIW: you might take a look at Thread::Apartment to see
if you can wrap Wx in its own thread, and make it
look like you're passing objects around. I'd started to
create a Tk::Threaded for Perl/Tk based on that, but
it needs inter-thread tie()'d operations, which aren't available
via the current ithreads environment.

- Dean

Reply via email to