---
title: "线程的调度—守护线程"
author: "bd2007"
date: "2011-08-22T12:29:05Z"
tags: []
slug: "untitled"
draft: false
lastmod: "2011-08-22T12:29:05Z"
id: 1154881
url: "https://bd2007.iteye.com/blog/1154881"
---

<div>守护线程与普通线程写法上基本么啥区别，调用线程对象的方法setdaemon(true)，则可以将其设置为守护线程。