Well, to address this, it is theoretically possible for me to roll my
own message queue that is attached to the windows queue for monitored
events, and sends messages to the window wherein the window has
registered that message with the package. This is an addendum feature to
the methods I've been working on to make the threads independent of the
window's message queue lifetime.

Jason P.

-----Original Message-----
From: Jeremy White [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 13, 2006 4:54 AM
To: [EMAIL PROTECTED]
Cc: Plum, Jason; perl-win32-gui-users@lists.sourceforge.net
Subject: Re: [perl-win32-gui-users] Thread Safe Message Passing

To be 100% honest I'm not sure. I know this solution works, and as my 
internal queue is a C structure, the C thread that sits on one end the
queue 
is extremely lightweight. There might be other solutions too.

Jason is correct, for most people I doubt that the message queue would 
become full, especially on XP - but when it does happen it's a right
pain to 
track down the problems it causes. We need to do more testing in real
world 
situations to see how likely this situation arises, especially on boxes
pre 
XP.

Cheers,

jez.



Reply via email to