3. Processes, Exceptions and Signals 1. There are two child processes of the same parent process. The second child process wants to quickly inform the first child process when one of two events happen. The messages are: event #1 just happened event #2 just happened What is the best way to do this? Explain: 2. There are two child processes of the same parent process. The second child process wants to quickly pass a 1024 character string to the first child process. What is the best way to do this? Explain 3. There are two processes running on two different computers. The second child process wants to quickly pass a 1024 byte definition of an object to the first child process. What is the best way to do this? Explain 4. Doing doing a pthread_create(). Additionally, threads can easily communicate in memory, and this is hard for processes. What then is an advantange of fork()? a fork ) is a lot more expensive for the operating system than What can different processes do that different threads cannot?



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *