http://qs1969.pair.com?node_id=219200


in reply to Threads and object access

I was afraid of that BrowserUk.

So for the time being can anyone suggest a viable alternative?

The child thread simply sits in a while loop polling the serial port. When data is received the child then needs to be able to access $HS as is $HS->GotEvent(). Seeing as the child can't make the call directly what's the best way to instruct the parent to make the call. Or is it possible for a child thread to explicitly call a subroutine in the parent thread instead of it's own?

-Nitrox