Originally posted by: Nathan Smith
I had reformatted the article, but I cannot post the HTML source. Instead of reading the HTML, the posting engine assumes that I wanted to post an article that has a whole lot of <'s and >'s in it. So, if there is a way to post the refomatted article as pure HTML, then let me know. I've got it ready :)
Reply
Originally posted by: Chui Chee Kong
Hi,
I now have a PC running WinNT 4 SP 4, with 2 Pentium CPUs.
Does anyone know how can I specify each of the 2 processes
to be run on two different processors?
If I leave this to the OS, it is very likely that
the two processes will end up in 1 CPU.
Thank you.
regards,
chee kong
Originally posted by: Robert Krakora
What happens if one of the processes dies holding one of the named mutexes? Their are benefits to using WM_COPYDATA, although one of them may not be speed. WM_COPYDATA also does not guarantee mutual exclusion unless the message is sent via 'SendMessage()', which blocks the sender implicitly across theads and processes until the receiver has processed the message. If the receiver has dies unexpectedly, I believe 'SendMessage()' returns with an error. However, it is unclear to me what happens if the sender is killed while it is blocked on'SendMessage' waiting for the receiver to process the WM_COPYDATA message. Can someone help me out?
ReplyOriginally posted by: Daniel Mathiasen
Hiya,
Don't ruin this otherwise fine article by Peter Hendrix, clean the formatting up, it looks like shit.
Daniel
Reply
Originally posted by: Petr Novotny
Hi,
first of all: The page, as it is formated, is UNREADABLE. It would help a lot of you either weren't using so large indents, or better not using such an indented code (what about splitting into smaller functions?)...
But the important question of this way of communication is - HOW FAST IS IT? I mean, how many task switches per seconds can you accomplish this way? Or better yet, how many query/answer roundtrips per second are you able to accomplish this way? How does it compare to WM_COPYDATA? Or to COM?