码迷,mamicode.com
首页 >  
搜索关键字:threading    ( 3244个结果
记录一种读取XML的方法
using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Xml;namesp...
分类:其他好文   时间:2014-08-09 02:25:47    阅读次数:203
C#多线程方法同步
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;using System.Runtime.CompilerServices;namespa...
分类:编程语言   时间:2014-08-08 17:52:06    阅读次数:254
委托二--------使用委托实现冒泡排序
-------------------------------------------------------------Proson.csusingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; namespaceConsoleApplication2 { publicclassProson { publicstringName{get;priv..
分类:其他好文   时间:2014-08-08 02:12:05    阅读次数:184
委托三------------多播委托与匿名方法
============================================多播委托-------------------------------------主程序usingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; namespaceConsoleApplication3 { classProgram { stati..
分类:其他好文   时间:2014-08-08 02:10:55    阅读次数:272
多线程
multithreading,multiprocessingBlock multi-threading:context switching意味着从现有的寄存器集切换到另一套Interleaved multithreading:similar to preemptive multitasking,mo...
分类:编程语言   时间:2014-08-07 02:56:28    阅读次数:273
Async异步编程入门示例
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace AsyncDem.....
分类:其他好文   时间:2014-08-06 14:15:41    阅读次数:160
python装饰器实现线程同步
import threading def tryfinally(finallyf):   u"returns a decorator that adds try/finally behavior with given no-argument call in the finally"   print "tryfinally"   def decorator(callable):     p...
分类:编程语言   时间:2014-08-05 11:17:29    阅读次数:226
系统数据监控
系统数据监控。using System;using System.Collections.Generic;using System.Diagnostics;using System.Linq;using System.Text;using System.Threading;using Arch.CF...
分类:其他好文   时间:2014-08-04 10:51:27    阅读次数:206
Python实例 -- 爬虫
1 #coding="utf-8" 2 3 import urllib2 4 import re 5 import threading 6 import time 7 8 """ 9 抓取代理发布页的ip和port10 http://www.xici.net.co/nn/%d11 """12 ...
分类:编程语言   时间:2014-08-04 02:00:36    阅读次数:313
PyDeadObjectError: The C++ part of the CMainFrame object has been deleted, attribute access no longer allowed
在wxpython做的GUI主线程结束时,由于一个正在运行的子线程无法正常地结束而RAISE出了如标题所示的异常。原因是wxpython的frame已经析构而不可访问其属性。 KILL一个子线程,方法有二:1. threading.setDaemon(True)为后台线程,当主线程结束时随之退...
分类:数据库   时间:2014-08-03 15:04:05    阅读次数:376
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!