码迷,mamicode.com
首页 >  
搜索关键字:threading    ( 3244个结果
C#自动发送邮件
using System;using System.Collections.Generic;using System.Linq;using System.Net.Mail;using System.Text;using System.Threading.Tasks;namespace QQEmail...
分类:其他好文   时间:2014-07-10 11:45:31    阅读次数:189
Finder(文件内容搜索工具)
搜索文件夹内容的小工具Github两种搜索模式的算法:BoyerMooreSearch.csusing System.Threading;using System.Collections.Generic;using System.Linq;namespace Finder.Algorithms{ ....
分类:其他好文   时间:2014-07-10 00:14:50    阅读次数:335
C#接口的经典案例
C#接口(interface)实例子(简单而经典)2008/12/04 10:04using System;using System.Collections.Generic;using System.Text;using System.Threading;namespace AppTest{ ...
分类:其他好文   时间:2014-07-07 16:12:33    阅读次数:174
Python守护进程(多线程开发)
#!/usr/bin/pythonimport sys,time,json,loggingimport Queue, threading, datetimefrom lib.base.daemon import Daemonfrom lib.queue.httpsqs.HttpsqsClient i...
分类:编程语言   时间:2014-07-07 11:30:23    阅读次数:276
posix thread介绍
?? posix thread是操作系统级(OS level)的API规范,主要用来定义线程及线程间同步的相关操作,采用C语言定义。posix规范主要在unix like类系统上实现;Windows类系统采用了自己的线程API。目前很多语言都在其标准库中提供了语言级的线程支持:如Java中的Thread,concurrenty包;python中的threading model;C++11标准...
分类:其他好文   时间:2014-07-04 08:18:03    阅读次数:271
Python 多线程threading模块
首先,我们在了解多线程时需要理解的就是什么是多线程,按照官方的解释就是:多线程(英语:multithreading),是指从软件或者硬件上实现多个线程并发执行的技术。在我自学到这里的时候,通过会在想进程和线程到底是有什么区别,我的理解就是:进程就是一个应用程序在处理机上..
分类:编程语言   时间:2014-07-03 14:08:20    阅读次数:354
C#中Thread类中Join方法的理解(转载)
指在一线程里面调用另一线程join方法时,表示将本线程阻塞直至另一线程终止时再执行 比如Java代码usingSystem;namespaceTestThreadJoin{classProgram{staticvoidMain(){System.Threading.Threadx=newSyste....
分类:其他好文   时间:2014-07-02 23:32:58    阅读次数:257
[C#]Thread Safe Dictionary in .NET 2.0
using System.Collections.Generic;using System.Threading;namespace CSharpUtilHelpV2{ /// /// 基于.NET 2.0的对于Dictionary线程安全操作工具类 /// 说明 /// 默认读锁超时1000毫秒 /...
分类:Web程序   时间:2014-06-27 20:10:33    阅读次数:359
对象的思考1
一个对象能自己能否作为自己的一个成员?using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApp...
分类:其他好文   时间:2014-06-26 00:27:11    阅读次数:169
【Python】多线程编程
1、thread模块 2、threading模块 3、Queue模块与多线程互斥 简介: thread和threading模块允许创建和管理线程,thread模块提供了基本的线程和锁的支持,而threading提供了更高级别,功能更强的线程管理功能,Queue模块 允许创建一个可以用于多个线程之间共...
分类:编程语言   时间:2014-06-25 13:39:51    阅读次数:244
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!