G
gmtonyhoyt
Okay here's the situation. What I'm looking for, is a sort of generic
wrapper or API that will allow me to build threads with some kind of
messaging system attached with it. The idea is that these individual
threads will each handle small messages to each other, where each
thread managed to perform a seperate operation, yet their may be some
inter-dependance.
This is a Network based application, it recieves messages from client
machines, and then each message must be transmitted to a specific
thread. Don't worry about the incomeing networking message and how it
gets processed to the appropreate thread since that's pretty much
handled. So lets say I have Thread A and B. Sometimes, their will be
situations where A will want to send Data to B, then recieve a reply
from B, before continuing with it's job. What's the best way to do
that?
As for details, I'm looking for basic C code (obviously) that'll run
on a Sparc/Solaris 8+ machine. Sun Forte C 5.0 and GCC 2.95.3 are my
compilers of choice. Any thoughts? Anyone can point out any good code
examples for what I want?
Tony
wrapper or API that will allow me to build threads with some kind of
messaging system attached with it. The idea is that these individual
threads will each handle small messages to each other, where each
thread managed to perform a seperate operation, yet their may be some
inter-dependance.
This is a Network based application, it recieves messages from client
machines, and then each message must be transmitted to a specific
thread. Don't worry about the incomeing networking message and how it
gets processed to the appropreate thread since that's pretty much
handled. So lets say I have Thread A and B. Sometimes, their will be
situations where A will want to send Data to B, then recieve a reply
from B, before continuing with it's job. What's the best way to do
that?
As for details, I'm looking for basic C code (obviously) that'll run
on a Sparc/Solaris 8+ machine. Sun Forte C 5.0 and GCC 2.95.3 are my
compilers of choice. Any thoughts? Anyone can point out any good code
examples for what I want?
Tony