[Ilugc] day to day Doubts..

  • From: binand@xxxxxxxxx (Binand Sethumadhavan)
  • Date: Tue Sep 19 14:49:41 2006

On 19/09/06, Girish Venkatachalam <girish1729@xxxxxxxxx> wrote:

I wonder why you guys are so hung up with threads. Real UNIX never had any 
threads
and never will have. fork() is the way to go. Multi threaded programs are 
buggy and
crash often. I know nobody in this list will appreciate this fact but this is 
the truth.

Do you mean:

a. fork()ing programs do not crash?
b. The fact that a few programs are buggy is enough to ridicule
threads entirely?

What do you mean by "Real UNIX"? POSIX - an IEEE standard for Unix
operating systems - has a standard for threads. Does that mean POSIX
is not "Real UNIX"?

It is a theoretical concept not used much practically. sticky is often used 
in the context of CVS tags.

Hmm. Ever looked at ls -ld /tmp ? In fact, I don't remember ever
encountering sticky bit in the context of CVS. Maybe you are confused
between the sticky bit and the setuid/setgid bits?

recursion is a theoretical concept not used much in practice.

Can you spell DNS??

        I know that perl supports some bidirectional pipe using two 
pipes,maybe u r talking some advanced stuff I dont know. But pipes have 
always been unidirectional. If there are

POSIX specifies a pipe(2) system call for bidirectional pipes.
Implementations might choose a pair of unidirectional pipes, but that
is irrelevant.

Other related posts: