Ask a Question related to UNIX Programming, Design and Development.
-
David Schwartz #1
Re: About multiple processes communication
"Olivier Matt" <init64@kodee.org> wrote in message
news:slrnbh6637.ie.init64@risingstar.local.kodee.o rg...
> my problem follows :processes.> I have a father process which creates an unknown number of child> Then, at unknown moments, it must then data to all of its children, and
> each child must read the message only once, but every must read it.> So, it should behave like a pipe, excepted that each child must recieve
> the data. And if no child has been created, the data must be lost.Create a pipe, UNIX stream socket, or TCP socket connection between the> Can you help me ? Advises ?
parent and each child. Send the data over each connection.
Alternatively, you could keep appending the data to a file. Each child
could watch for the file to grow and read the new data. When the file gets
too big, you can write a message that each child would interpret to mean 'go
to file X'. After enough time, you can remove the old file.
There are any number of other ways, it all depends upon how much data
you're sending.
DS
David Schwartz Guest
-
Configuration for multiple ASP.Net Worker processes
Does anyone know if it is possible to configure IIS 5.0 to run distinct ASP.Net worker processes for each distinct Web Site? For example, in IIS... -
Net::Telnet and forking multiple processes
Under normal conditions the entire program works, however when trying to fork multiple processes, the script cannot open multiple telnet sessions... -
multiple processes running contemporarily!
How could i achive that? -- Posted via http://dbforums.com -
unkillable processes causes?
Hello, What are possible reasons for a process not being kill(1)-able in Solaris (or Unix in general)? (Especially SIGKILL.) Doing a quick... -
Communication between 2 processes by using signals
How 2 independent processes can communicate ( say to passing some chunk of data) with "signals". Is it possible ? Are signals is counted in IPC...



Reply With Quote

