Re: why threads?
From: Abhijit Pawar (abhijitcpawar_at_gmail.com)
Date: 07/07/05
- Next message: Michael Metcalf: "Re: SIGILL on running exp() with f90 compiled code"
- Previous message: Abhijit Pawar: "Re: why threads?"
- Maybe in reply to: kroty: "why threads?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 6 Jul 2005 23:08:40 -0700
Also other that spawning threads , they are easy to handle when
creating the message passing systems in the process with the Message
Port or Message queues. They share the same address space for the
process and in it they are independant , one bad thread can not take
the process down if error handling is proper.
Threads share the same pointer throughout the process. Using the IPC
for process is very tedious , where you have to constantly check for
the broken pipes and the buffer overflow in the pipe , shared memory
corruption and context switches.
Threads save the overhead of context switches.
-- Abhijit.
- Next message: Michael Metcalf: "Re: SIGILL on running exp() with f90 compiled code"
- Previous message: Abhijit Pawar: "Re: why threads?"
- Maybe in reply to: kroty: "why threads?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|