in reply to Threads and object access
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Threads and object access
by BrowserUk (Patriarch) on Dec 12, 2002 at 00:07 UTC | |
by Nitrox (Chaplain) on Dec 12, 2002 at 01:44 UTC | |
by BrowserUk (Patriarch) on Dec 12, 2002 at 01:53 UTC | |
by Nitrox (Chaplain) on Dec 12, 2002 at 03:03 UTC |