For a good explanation of how threads are implemented within
Java on Linux see:
http://www-4.ibm.com/software/developer/library/java2/index.html
It explains green vs. native threads.
It also touches on why you might want to use native threads with JNI.
'pthreads' is the Posix standard interface for multi-threaded code
in C (or C++).
"A. Scott White" wrote:
>
> Hello. I'm a complete newbie to Linux, please bear with me. I am an experienced
> C, C++ programmer, however, so feel free to answer accordingly.
>
> In reading the {} document I came across this quote:
>
> == BEGIN QUOTE ==
> * We strongly recommend using the native threads vm in conjunction
> with JNI. An absolute no-no is using pthread code with with the
> green threads vm.
> == END QUOTE ==
>
> 1. What is JNI? <Never mind, I think I figured it out. Java Native interface,
> right?
> 2. What is the native threads vm? What are native threads?
> 3. What is pthread code?
> 4. What it the green threads vm? What are green threads?
>
> I know what threads are, and I understand multithreading in general. Are these
> Linux terms or Java terms?
>
> Thanks.
>
> ==================================
> A. Scott White
> Director, Information Systems
> Healthcare Solutions Group
> Affiliated Computer Services, Inc.
> [EMAIL PROTECTED]
> ==================================
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
Michael Maloney
Ilex Engineering, Inc.
Tel: 410.241.5248
Email: [EMAIL PROTECTED]
S/MIME Cryptographic Signature