lkml.org 
[lkml]   [2000]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: thread rant
dean-list-linux-kernel@arctic.org (dean gaudet)  wrote on 02.09.00 in <Pine.LNX.4.21.0009020243390.13453-100000@twinlark.arctic.org>:

> although you know the most amusing thing to watch a thread programmer try
> to do is to pass data bidirectionally between two sockets.

I'm tempted to say "don't do that, then". I.e., sounds like the wrong
abstraction.

Of course, you may have no choice.

Easy threads rule-of-thumb: if you need to juggle two concurrent jobs in
one thread, you have the wrong abstraction; maybe you need to split your
thread.

> can we be friends and say "everything in moderation including moderation
> itself"? :)

That's always wise.

MfG Kai
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.056 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site