---
title: "Java  thread  model"
author: "dikar"
date: "2012-03-12T11:01:39Z"
tags: []
categories: ["开源软件"]
slug: "java-thread-model"
draft: false
lastmod: "2014-03-16T22:20:09Z"
id: 1450579
url: "https://dikar.iteye.com/blog/1450579"
---

这里记录些关于线程模型方面的资料。

 

1：thread  wiki 

[http://en.wikipedia.org/wiki/Thread\_(computing)](http://en.wikipedia.org/wiki/Thread_%28computing%29)

 

可以看看线程模型以及对应的实现方式有哪些。

 

 

2：Solaris Threading Models

[http://java.sun.com/docs/hotspot/threads/threads.html](http://java.sun.com/docs/hotspot/threads/threads.html)

 

主要是讲述solaris上线程模型和java线程模型的对应

 

 

3：Threading models: So many different ways to get stuff done

[http://timetobleed.com/threading-models-so-many-different-ways-to-get-stuff-done/](http://timetobleed.com/threading-models-so-many-different-ways-to-get-stuff-done/)

 

几种不同的线程模型的优缺点对比

 

4：How does JVM map a Java thread to a native thread?

[http://blog.narmnevis.com/2010/11/how-does-jvm-map-a-java-thread-to-a-native-thread/](http://blog.narmnevis.com/2010/11/how-does-jvm-map-a-java-thread-to-a-native-thread/)

 

大概讲述了JVM如何将java线程映射到本地线程，以及实现时的考虑点

 

 

5：C10K problem

[http://www.kegel.com/c10k.html#1:1](http://www.kegel.com/c10k.html#1:1)

 

其中涉及线程模型对c10k的效率影响考虑

 

 

6：Popular Threading Implementations - Java Threads

[http://book.javanb.com/java-threads-3rd/jthreads3-CHP-9-SECT-3.html](http://book.javanb.com/java-threads-3rd/jthreads3-CHP-9-SECT-3.html)

 

简单介绍了下windows和Solaris上线程模型的实现等

 

 

7：Native POSIX Thread Library

[http://en.wikipedia.org/wiki/Native\_POSIX\_Thread\_Library](http://en.wikipedia.org/wiki/Native_POSIX_Thread_Library)

linux上 线程库的实现

 

8：Linux 线程模型的比较：LinuxThreads 和 NPTL

 [http://www.ibm.com/developerworks/cn/linux/l-threading.html](http://www.ibm.com/developerworks/cn/linux/l-threading.html)

 

9：Linux 线程实现机制分析

[https://www.ibm.com/developerworks/cn/linux/kernel/l-thread/](https://www.ibm.com/developerworks/cn/linux/kernel/l-thread/)