Multithreading Revision:- Pthread Concepts Revision What is multi-tasking? Difference between multithreading and multitasking ? Programs:- 1. Print 1 2 3 infinitely using threads in C 2. Maximum number of threads that can be created within a process in C 3. Print numbers in sequence using thread synchronization 4. Maximum number of Zombie process a system can handle 5. WAP a program to print 0,1,2,3,4,5,6... where one thread print odd number and second thread print even number. How you will handle exception before joining the threads, explain it in more detail. What are benefits of using socket IPC ? You can connect a simple client to them for testing (manually enter data, see the response). This is very useful for debugging, simulating and blackbox testing. You can run the processes on different machines. This can be useful for scalability and is very helpful in debugging / testing if you work in embedded software. It becomes very easy to expose your process as ...
Comments
Post a Comment