On 28/06/11 22.58, Steve Cookson wrote:
From: Mattia Barbon
When I clicked "Run" the first time I got this:
Thread 1 terminated abnormally: lock can only be used on shared values
at /home/gabor/perl5/lib/perl5/Wx/Perl/Thread/Listener.pm line 36.
Note: the phrase below below is not an answer to the error above, but
an addition to the list of bugs/changes Gabor started.
- Threading code is way too complicated (could probably use more helper
code in Wx).
Hi Mattia,
You're probably regretting ever writing this thing :)
The above continues to be an issue. What does "could probably use more
helper code in Wx" mean? Is it just a matter of single stepping through the
code?
Err, no. It means that while wxPerl contains the plumbing code
required for multithreaded GUIs, it could use a layer simplifying thread
handling/communication.
Regards,
Mattia