Simulated threads are known as "green threads" in programming-language-wonk speak. They are compared to "native threads" as provided by the operating system, but is there an analogous colour for native threads, and what is it?
4 Answers
User-mode threads can be referred to as "green" threads, whereas kernel-mode threads can be referred to as "red" threads. This terminology is rarely used, but an appreciation of the difference is a good thing to know.
-
1What would be the origin of this?– user1249Jul 29, 2011 at 13:29
-
@Thorbjørn I do not know the exact etymology, it's just distinctions I remember from OS study at Uni. I can say that given the context of my study the terminology is quite old. Jul 29, 2011 at 13:37
-
Never heard the term, perhaps I'm too young :)– user1249Jul 29, 2011 at 13:58
-
1
No, there isn't. The "green" is like in "green peace", not like in "green apple". I guess the opposite might be "smoggy" or any other term denoting non-eco-friendliness.
I hope that this is not too far afield. Colors do not have 'opposites' they have complements. The complement of green is magenta.