[Mono-dev] Mapping Mono-Threads to Linux-Threads

Martin Däumler mdae at cs.tu-chemnitz.de
Fri Jan 8 09:24:03 EST 2010


Hy,

I'm using Mono 2.6.1 on a standard x86 computer running on
Linux 2.6.30. I built Mono from the sources without problems.

I want to know how Mono and its CRL, respectively,
map threads and processes created from the CLI code
to Linux threads.

The Mono-project online documentation's "ThreadBeginnersGuide"
tells me something about a mono-process, a Application Domain
and some threads ... but that is quity fuzzy.

Executing a simple "Hello, World", the Linux command "ps" lists
one Mono process containing 2 (Linux operating system) threads.
Executing a simple programm containing 2 threads causes
one Mono process and 4 operating system threads. So, does
one thread within a Mono application cause 2 Linux operating
system threads to be executed and if yes, why?

I ask you to tell me how it works or where to look in the
documentation (or in the source code).


With kind regards,
Martin Däumler

-- 
Martin Däumler
Operating Systems Group, TU Chemnitz
Tel:  ++49(371) 531-37369


More information about the Mono-devel-list mailing list