<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>YippeeSoft开心软件 &#187; thread</title>
	<atom:link href="http://www.yippeesoft.com/blog/p/tag/thread/feed" rel="self" type="application/rss+xml" />
	<link>http://www.yippeesoft.com</link>
	<description></description>
	<lastBuildDate>Tue, 07 Sep 2010 02:54:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Pause Resume Thread List</title>
		<link>http://www.yippeesoft.com/blog/p/pause-resume-thread-list.php</link>
		<comments>http://www.yippeesoft.com/blog/p/pause-resume-thread-list.php#comments</comments>
		<pubDate>Fri, 23 Oct 2009 11:26:54 +0000</pubDate>
		<dc:creator>yippee</dc:creator>
				<category><![CDATA[Info]]></category>
		<category><![CDATA[thread]]></category>

		<guid isPermaLink="false">http://www.yippeesoft.com/blog/p/pause-resume-thread-list.php</guid>
		<description><![CDATA[// pausep.cpp : Defines the entry point for the console application.//

#include &#8220;stdafx.h&#8221;#include &#8220;pausep.h&#8221;#ifdef _DEBUG#define new DEBUG_NEW#endif

using namespace std;

<span class="readmore"><a href="http://www.yippeesoft.com/blog/p/pause-resume-thread-list.php" title="Pause Resume Thread List">阅读全文——共2207字</a></span>]]></description>
		<wfw:commentRss>http://www.yippeesoft.com/blog/p/pause-resume-thread-list.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>20090718 wordpress OK</title>
		<link>http://www.yippeesoft.com/blog/p/20090718-wordress-ok.php</link>
		<comments>http://www.yippeesoft.com/blog/p/20090718-wordress-ok.php#comments</comments>
		<pubDate>Tue, 18 Aug 2009 00:00:00 +0000</pubDate>
		<dc:creator>yippee</dc:creator>
				<category><![CDATA[RAN乱]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[com]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[org]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sqlite]]></category>
		<category><![CDATA[thread]]></category>
		<category><![CDATA[url]]></category>
		<category><![CDATA[wap]]></category>
		<category><![CDATA[word]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[上传]]></category>
		<category><![CDATA[中文]]></category>
		<category><![CDATA[乱码]]></category>
		<category><![CDATA[修改]]></category>
		<category><![CDATA[发布]]></category>
		<category><![CDATA[安装]]></category>
		<category><![CDATA[屏蔽]]></category>
		<category><![CDATA[插件]]></category>
		<category><![CDATA[搜索]]></category>
		<category><![CDATA[数据]]></category>
		<category><![CDATA[服务]]></category>
		<category><![CDATA[服务器]]></category>
		<category><![CDATA[比较]]></category>
		<category><![CDATA[版本]]></category>
		<category><![CDATA[结果]]></category>
		<category><![CDATA[部署]]></category>
		<category><![CDATA[错误]]></category>
		<category><![CDATA[问题]]></category>

		<guid isPermaLink="false">http://www.shengfang.org/blog/?p=2147</guid>
		<description><![CDATA[搞了半天，终于搞定了。

由于空间PHP版本的问题，没有办法使用SQLITE

本机很快就已经搭建完成。

<span class="readmore"><a href="http://www.yippeesoft.com/blog/p/20090718-wordress-ok.php" title="20090718 wordpress OK">阅读全文——共879字</a></span>]]></description>
		<wfw:commentRss>http://www.yippeesoft.com/blog/p/20090718-wordress-ok.php/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>20090115 c# suspend thread</title>
		<link>http://www.yippeesoft.com/blog/p/20090115csuspendthread.php</link>
		<comments>http://www.yippeesoft.com/blog/p/20090115csuspendthread.php#comments</comments>
		<pubDate>Tue, 18 Aug 2009 00:00:00 +0000</pubDate>
		<dc:creator>yippee</dc:creator>
				<category><![CDATA[Info]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[thread]]></category>

		<guid isPermaLink="false">http://localhost/blog/?p=122</guid>
		<description><![CDATA[c#线程_网络技术http://hi.baidu.com/gexiangyu/blog/item/113f34296f2590ff99250a96.html

.NET2.0里说Thread.Suspend 方法已经过时，哪该用哪个方法呢？ .NET技术 / C# &#8211; CSDN社区 community.csdn.nethttp://topic.csdn.net/t/20061209/21/5219250.html

回复: 在做一个小软件里面含有下载文件.线程如何暂停和继续啊?自带的方法过时了 &#8211; 微软中文技术论坛（MSDN and TechNet）http://forums.microsoft.com/china/ShowPost.aspx?PostID=3795307&#38;SiteID=15

<span class="readmore"><a href="http://www.yippeesoft.com/blog/p/20090115csuspendthread.php" title="20090115 c# suspend thread">阅读全文——共2055字</a></span>]]></description>
		<wfw:commentRss>http://www.yippeesoft.com/blog/p/20090115csuspendthread.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>20081028 c# threads back worker</title>
		<link>http://www.yippeesoft.com/blog/p/20081028cthreadsbackworker.php</link>
		<comments>http://www.yippeesoft.com/blog/p/20081028cthreadsbackworker.php#comments</comments>
		<pubDate>Sun, 28 Jun 2009 11:40:18 +0000</pubDate>
		<dc:creator>yippee</dc:creator>
				<category><![CDATA[Info]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[thread]]></category>

		<guid isPermaLink="false">http://localhost/blog/?p=204</guid>
		<description><![CDATA[http://big5.webasp.net/article/17/16513_print.htm

Socket.Connect 方法 (EndPoint) (System.Net.Sockets)http://msdn.microsoft.com/zh-cn/vstudio/ych8bz3x(VS.80).aspx

包包版网络游戏大厅+桥牌系统 3.从登录说起 &#8211; 包建强的开源地带 &#8211; 博客园http://www.cnblogs.com/Jax/archive/2008/07/30/1252679.html

<span class="readmore"><a href="http://www.yippeesoft.com/blog/p/20081028cthreadsbackworker.php" title="20081028 c# threads back worker">阅读全文——共3647字</a></span>]]></description>
		<wfw:commentRss>http://www.yippeesoft.com/blog/p/20081028cthreadsbackworker.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>20080907 wpf thread 线程</title>
		<link>http://www.yippeesoft.com/blog/p/20080907wpfthread.php</link>
		<comments>http://www.yippeesoft.com/blog/p/20080907wpfthread.php#comments</comments>
		<pubDate>Tue, 05 May 2009 19:52:53 +0000</pubDate>
		<dc:creator>yippee</dc:creator>
				<category><![CDATA[Info]]></category>
		<category><![CDATA[thread]]></category>
		<category><![CDATA[wpf]]></category>
		<category><![CDATA[线程]]></category>

		<guid isPermaLink="false">http://localhost/blog/?p=258</guid>
		<description><![CDATA[.NET BLOG &line; Create WPF Applications without XAMLhttp://www.dotnet-blog.com/index.php/2008/04/21/create-wpf-applications-without-xaml/

Using WPF without XAML, the WinFX SDK or VS Extensions &#8211; Vista Forumshttp://www.vistax64.com/avalon/332-using-wpf-without-xaml-winfx-sdk-vs-extensions.html

<span class="readmore"><a href="http://www.yippeesoft.com/blog/p/20080907wpfthread.php" title="20080907 wpf thread 线程">阅读全文——共3804字</a></span>]]></description>
		<wfw:commentRss>http://www.yippeesoft.com/blog/p/20080907wpfthread.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>20071023 linux schedule pthread_create</title>
		<link>http://www.yippeesoft.com/blog/p/20071023linuxschedulepthread_create.php</link>
		<comments>http://www.yippeesoft.com/blog/p/20071023linuxschedulepthread_create.php#comments</comments>
		<pubDate>Tue, 22 Jul 2008 23:19:20 +0000</pubDate>
		<dc:creator>yippee</dc:creator>
				<category><![CDATA[Info]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[thread]]></category>

		<guid isPermaLink="false">http://localhost/blog/?p=542</guid>
		<description><![CDATA[20071023 linux schedule pthread_createhttp://www.yippeesoft.com

调度的实质是资源的分配，系统通过不同的算法来实现资源的分配。一般unix采用动态优先调度，5.3BSD采用多级反馈，windows采用抢先多任务调度，对于linux，则根据进程的不同性质采用不同的调度策略。linux的调度程序是一个叫schedule()的函数，它决定是否要进行进程的切换，切换到哪个进程。

首先先来看看在哪些情况下要执行调度程序，即调度时机。1 进程状态转换的时刻：进程终止，睡眠。2 当前进程的时间片用完时。3 设备驱动程序。4 进程从中断，异常，系统调用返回到用户态时。对于1，进程本身调用exit(),sleep()函数进行状态转换，这些函数会主动调用调度程序进行进程调度。对于2，当进程的时间片用完时，即 current-&#62;counter = 0,则会调用调度程序大部分PC机有两个时钟源，即RTC和OS时钟，RTC(real time clock)实时时钟，也叫CMOS时钟，是PC主机板上的一块芯片，它表示的时间即我们一般理解的时间。OS时钟产生于PC主板上的定时/计数芯片，只有在开机时，由操作系统取得RTC中的时间数据，然后初始化。它不是本质意义上的时钟，它是由可编程定时/计数器产生的输出脉冲触发中断而产生的。输出脉冲的周期叫一个“时钟滴答”，它是linux的时间单位，操作系统根据当前时钟滴答的数目，就可以得到以秒或毫秒等为单位的其他时间格式。在这里，我们把counter叫做进程的时间片，实际上它是时钟滴答的个数。例如,counter = 10，则分配给进程的时间片是10个时钟滴答，因为linux的一个时钟滴答为10ms，则系统给进程的初始化时间片大小是10 * 10ms = 100ms.对于3，当设备驱动程序执行长而重复任务时，直接调用调度程序。在每次反复循环中，驱动程序都要检查 need_resched的值，如果必要，则调用调度程序，主动放弃CPU。对于4，因为进程从中断，异常或系统调用返回时，都要调用 ret_from_sys_call()，由这个函数进行调度标志检测，如果必要，调用调度程序。

<span class="readmore"><a href="http://www.yippeesoft.com/blog/p/20071023linuxschedulepthread_create.php" title="20071023 linux schedule pthread_create">阅读全文——共5565字</a></span>]]></description>
		<wfw:commentRss>http://www.yippeesoft.com/blog/p/20071023linuxschedulepthread_create.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>20071009 Response ThreadAbortException</title>
		<link>http://www.yippeesoft.com/blog/p/20071009ResponseThreadAbortException.php</link>
		<comments>http://www.yippeesoft.com/blog/p/20071009ResponseThreadAbortException.php#comments</comments>
		<pubDate>Sun, 29 Jun 2008 19:39:35 +0000</pubDate>
		<dc:creator>yippee</dc:creator>
				<category><![CDATA[Info]]></category>
		<category><![CDATA[thread]]></category>

		<guid isPermaLink="false">http://localhost/blog/?p=565</guid>
		<description><![CDATA[20071009 Response ThreadAbortExceptionhttp://www.yippeesoft.com

Response.redirect和Response.End出现线程中止异常的处理2005年08月06日 星期六 16:56

在调用response.end的时候有时会报告“线程正被终止”的异常，以下是微软官方的解决办法症状如果使用 Response.End、Response.Redirect 或 Server.Transfer 方法，则出现 ThreadAbortException 异常。 可使用 try-catch 语句捕捉此异常。原因Response.End 方法停止页的执行，并将该执行变换到应用程序的事件管线中的 Application_EndRequest 事件。 Response.End 后面的代码行将不执行。

<span class="readmore"><a href="http://www.yippeesoft.com/blog/p/20071009ResponseThreadAbortException.php" title="20071009 Response ThreadAbortException">阅读全文——共2982字</a></span>]]></description>
		<wfw:commentRss>http://www.yippeesoft.com/blog/p/20071009ResponseThreadAbortException.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>20070301 SiteAdvisor  CThreadPool</title>
		<link>http://www.yippeesoft.com/blog/p/20070229SiteAdvisorCThreadPool.php</link>
		<comments>http://www.yippeesoft.com/blog/p/20070229SiteAdvisorCThreadPool.php#comments</comments>
		<pubDate>Thu, 02 Aug 2007 13:26:30 +0000</pubDate>
		<dc:creator>yippee</dc:creator>
				<category><![CDATA[Info]]></category>
		<category><![CDATA[thread]]></category>

		<guid isPermaLink="false">http://localhost/blog/?p=894</guid>
		<description><![CDATA[20070301 SiteAdvisor  CThreadPool

http://www.yippeesoft.com

CNET科技资讯网报道 一家Web 过滤专业厂商推出了一项新服务，能够消除用户因使用搜索引擎而受到间谍件和广告件入侵的危险。

<span class="readmore"><a href="http://www.yippeesoft.com/blog/p/20070229SiteAdvisorCThreadPool.php" title="20070301 SiteAdvisor  CThreadPool">阅读全文——共2737字</a></span>]]></description>
		<wfw:commentRss>http://www.yippeesoft.com/blog/p/20070229SiteAdvisorCThreadPool.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>20070102  InternetOpen thread timerout</title>
		<link>http://www.yippeesoft.com/blog/p/200070102InternetOpenthreadtimerout.php</link>
		<comments>http://www.yippeesoft.com/blog/p/200070102InternetOpenthreadtimerout.php#comments</comments>
		<pubDate>Tue, 05 Jun 2007 14:20:59 +0000</pubDate>
		<dc:creator>yippee</dc:creator>
				<category><![CDATA[Info]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[open]]></category>
		<category><![CDATA[thread]]></category>
		<category><![CDATA[time]]></category>

		<guid isPermaLink="false">http://localhost/blog/?p=952</guid>
		<description><![CDATA[070102  InternetOpen thread timerout

如何通过创建另一个线程控制连接超时值How To Control Connection Timeout Value by Creating Second ThreadSUMMARYThis acticle shows a workaround to the InternetSetOption API bug on setting timeout values by creating a second thread. For information about the bug, please see the following article in the Microsoft Knowledge Base: 176420 (http://support.microsoft.com/kb/176420/EN-US/) InternetSetOption Does Not Set Timeout Values MORE INFORMATIONThe following sample code controls how long to wait while connecting to the FTP server in WinInet. It creates a worker thread to call the blocking WinInet APIs. If the connection takes more time than the specified timeout value, the original thread will call InternetCloseHandle to release the blocking WinInet function. For HTTP communications the same idea applies. In the case of HTTP, the actual connection occurs in the call to HttpSendRequest. 

<span class="readmore"><a href="http://www.yippeesoft.com/blog/p/200070102InternetOpenthreadtimerout.php" title="20070102  InternetOpen thread timerout">阅读全文——共4820字</a></span>]]></description>
		<wfw:commentRss>http://www.yippeesoft.com/blog/p/200070102InternetOpenthreadtimerout.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>0526 intel 双核 超线程 DualCore HyperThreading</title>
		<link>http://www.yippeesoft.com/blog/p/0526intelDualCoreHyperThreading.php</link>
		<comments>http://www.yippeesoft.com/blog/p/0526intelDualCoreHyperThreading.php#comments</comments>
		<pubDate>Wed, 08 Nov 2006 10:14:23 +0000</pubDate>
		<dc:creator>yippee</dc:creator>
				<category><![CDATA[Info]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[thread]]></category>
		<category><![CDATA[线程]]></category>

		<guid isPermaLink="false">http://localhost/blog/?p=1160</guid>
		<description><![CDATA[0526 intel 双核 超线程 DualCore HyperThreading

最近发现WINXP机器启动慢了许多，并且是不是运行中出现假死，找找资料Intel Delivers Hyper-Threading Technology With Pentium® 4 Processor 3 Ghz Milestone Intel称其双核CPU为Double Core;而AMD则称为Dual Core。两者都是单模组上的双核设计,但最大的不同是AMD双核能相互通信,intel双核技术与超线程技术的区别作者：麦田守望者　提交时间：2006-5-10 8:22:56［推荐给好友］ 　超线程技术已经不是什么新鲜事物了，但普通用户可能与双核心技术区分不开。例如开启了超线程技术的Pentium 4 630与Pentium D 820在操作系统中都同样被识别为两颗处理器，它们究竟是不是一样的呢？这个问题确实具有迷惑性。　 其实，可以简单地把双核心技术理解为两个&#34;物理&#34;处理器，是一种&#34;硬&#34;的方式；而超线程技术只是两个&#34;逻辑&#34;处理器，是一种&#34;软&#34;的方式。　　 从原理上来说，超线程技术属于Intel版本的多线程技术。这种技术可以让单CPU拥有处理多线程的能力，而物理上只使用一个处理器。超线程技术为每个物理处理器设置了两个入口-AS(Architecture State，架构状态)接口，从而使操作系统等软件将其识别为两个逻辑处理器。 　　这两个逻辑处理器像传统处理器一样，都有独立的IA-32架构，它们可以分别进入暂停、中断状态，或直接执行特殊线程，并且每个逻辑处理器都拥有APIC(Advanced Programmable Interrupt Controller，高级可编程中断控制器)。虽然支持超线程的Pentium 4能同时执行两个线程，但不同于传统的双处理器平台或双内核处理器，超线程中的两个逻辑处理器并没有独立的执行单元、整数单元、寄存器甚至缓存等等资源。它们在运行过程中仍需要共用执行单元、缓存和系统总线接口。在执行多线程时两个逻辑处理器均是交替工作，如果两个线程都同时需要某一个资源时，其中一个要暂停并要让出资源，要待那些资源闲置时才能继续。因此，超线程技术所带来的性能提升远不能等同于两个相同时钟频率处理器带来的性能提升。可以说Intel的超线程技术仅可以看做是对单个处理器运算资源的优化利用。　　 而双核心技术则是通过&#34;硬&#34;的物理核心实现多线程工作：每个核心拥有独立的指令集、执行单元，与超线程中所采用的模拟共享机制完全不一样。在操作系统看来，它是实实在在的双处理器，可以同时执行多项任务，能让处理器资源真正实现并行处理模式，其效率和性能提升要比超线程技术要高得多，不可同日而语。简单来说：“双核”指的是物理双核“超线程”指的是逻辑双核

<span class="readmore"><a href="http://www.yippeesoft.com/blog/p/0526intelDualCoreHyperThreading.php" title="0526 intel 双核 超线程 DualCore HyperThreading">阅读全文——共3410字</a></span>]]></description>
		<wfw:commentRss>http://www.yippeesoft.com/blog/p/0526intelDualCoreHyperThreading.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
