message between objects.
Tech-Archive recommends: Fix windows errors by optimizing your registry
Date: Fri, 24 Dec 2004 14:34:52 +0800
I have designed a class CA and there is a message queue in the class. i.e.
Class CA
{
...
queue q;
}
Then, i defined two variables:
CA a1;
CA a2;
I am execpting that a1 can send a message into a2's queue. What should I do
in the Class CA design?Thank you very much for yoru suggestions
--
Best Regards
Yan ZHANG
http://www.nict.com.sg/zhang/
Relevant Pages
- Re: ipc/msg.c "cleanup" breaks fakeroot on Alpha
... avoid taking a lock on a message queue that just got freed? ... queue after a grace period. ... "volatile" shouln't be necessary. ... or the target thread was destroyed before wake_up_process completed. ... (Linux-Kernel) - netstat issue on Tru64. Kernel bug?
... I have noticed that many people were faced to the "netstat hangs" ... If a process writes in a message queue in such way that it overflows ... bash$ overflowQ ... (comp.unix.tru64) - Re: Need explaination of BeginInvoke timing
... it just queues the delegate invocation on the regular message queue for the control's owning thread. ... Actually, while you don't post enough code to be certain, it appears that the event handlers are just handlers for the regular Control events Enter, MouseUp, and MouseDown. ... The code is setting the flag, queuing a delegate that resets the flag which will be executed after all of the messages that are already in the queue, and then the remaining events are processed, including the MouseDown event and the delegate invocation that was queued via BeginInvoke. ... (microsoft.public.dotnet.languages.csharp) - Re: Event handling mechanism in Windows
... The IRP that originated the request `points back` to the requestor thread. ... and the APC adds a message to the message queue of the foreground thread ... (microsoft.public.win32.programmer.kernel) - Re: Dumb RTOS Question
... shows up in the queue. ... I thought a message queue would work or have ... then suspend for a safe amount of time before looping back to check them ... I just have not figured out this kooky RTOS stuff. ... (comp.arch.embedded) |
|