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?


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.

  • 1
    What would be the origin of this? – user1249 Jul 29 '11 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. – chibacity Jul 29 '11 at 13:37
  • Never heard the term, perhaps I'm too young :) – user1249 Jul 29 '11 at 13:58
  • 1
    @Thorbjørn Lucky you :) – chibacity Jul 29 '11 at 13:59

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.


how about "taste" instead of color -- native threads can be "bitter threads" :)


I hope that this is not too far afield. Colors do not have 'opposites' they have complements. The complement of green is magenta.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.