自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

阿拉丁博客

寻梦岁月,不言辛苦几许,不问收获几多!

  • 博客(19)
  • 资源 (9)
  • 收藏
  • 关注

原创 c#多线程Semaphore类旗语锁定

 using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading ;using System.Diagnostics ;namespace 多线程{ class Semaphore旗语锁定 {

2009-01-31 13:46:00 3495

原创 C#多线程Mutex互斥类小例

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading ;namespace 多线程{ class Mutex互斥类 { public static void Main()

2009-01-28 13:28:00 1941

原创 C#中使用Monitor类、Lock和Mutex类来同步多线程的执行

#中使用Monitor类、Lock和Mutex类来同步多线程的执行        在多线程中,为了使数据保持一致性必须要对数据或是访问数据的函数加锁,在数据库中这是很常见的,但是在程序中由于大部分都是单线程的程序,所以没有加锁的必要,但是在多线程中,为了保持数据的同步,一定要加锁,好在Framework中已经为我们提供了三个加锁的机制,分别是Monitor类、Lock关键字和Mutex类。

2009-01-27 13:27:00 1721

原创 C# 多线程Interlocked类保证原子操作

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading ;namespace 多线程{ class 简单语句原子化 { public static void Main()

2009-01-27 00:36:00 11295 2

原创 C#多线程同步属性操作

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading ;namespace 多线程{ class 线程元子性 { private static Person per = new

2009-01-26 22:23:00 2540

原创 C#线程同步模式

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace 多线程{ class 同步模式 { public static void Main()

2009-01-26 17:35:00 1176 1

原创 C#多线程的死锁演示

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Diagnostics ;using System.Threading ;namespace 多线程{ class 死锁问题 { publi

2009-01-20 00:23:00 2780

原创 C#多线程的竞态问题解决

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Diagnostics;using System.Threading;namespace 多线程{ class 竞态问题解决 { publi

2009-01-19 23:56:00 1148

原创 C#多线程的竞态问题演示

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Diagnostics ;using System.Threading ;namespace 多线程{ class 竞态问题演示 { pub

2009-01-19 23:46:00 1054

原创 C#异步回调

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace 多线程{ class 异步回调 { public delegate int TakesAwhileDel

2009-01-19 08:33:00 1258

原创 C#线程池的使用

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading ;namespace 多线程{ class 线程池 { public static void Main()

2009-01-19 08:33:00 850

原创 C#多线程传送数据

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace 多线程{ class 线程传数据 { public static void Main()

2009-01-19 08:32:00 1665

原创 C#等待句柄实现异步

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace 多线程{ class 等待句柄 { public delegate int TakesAwhileDel

2009-01-19 08:30:00 1475

原创 C#异步委托

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading ;namespace 多线程{ class Program { public delegate int TakesAwhil

2009-01-18 00:37:00 712

原创 C#中的跟踪用法

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Diagnostics ;using System.IO ;namespace 跟踪{ class Program { static voi

2009-01-17 15:29:00 4209

转载 C# Release和debug模式下调试跟踪程序的原则和方法

取相对路径:AppDomain.CurrentDomain.BaseDirectory入门简介 VS.Net 提供了两种机制来帮助开发人员诊断和纠正程序中的错误.一个是debug类, 另一个是trace类.这两个类都有了一个assert函数. Assert在很多情况下可以用来检验变量,比如检验一个指针在调用了某一个系统的API之后是不是为空。即使是使用try-catch块,我们也要面对下面两种

2009-01-16 18:02:00 4615 1

原创 C#动态加载创建程序集

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.CodeDom.Compiler ;using Microsoft.CSharp ;using System.Reflection ;using System.IO ;nam

2009-01-09 12:39:00 1612

转载 C#中Attribute的应用

Attribute的基本概念 经常有朋友问,Attribute是什么?它有什么用?好像没有这个东东程序也能运行。实际上在.Net中,Attribute是一个非常重要的组成部分,为了帮助大家理解和掌握Attribute,以及它的使用方法,特地收集了几个Attribute使用的例子,提供给大家参考。 在具体的演示之前,我想先大致介绍一下Attribute。我们知道在类的成员中有property成员

2009-01-05 23:20:00 14640 3

原创 C#反射小例

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Reflection ;using Com.Zhao.Des.VectorClass ;using Com.Zhao.Attr.WathsNewAttributes ;

2009-01-05 22:54:00 1077

C++开发的学生选课系统

c++开发的学生选课系统,有兴趣的朋友研究一下吧。

2008-12-15

托福 GRE GET4所有单词汇总

希望大家努力,努力,加油,一定可以的!!!

2008-12-15

C#开发的教务管理系统源码(排课)

C#开的做的教务管理系统,希望大家可以拿来研究,使用,有什么不好的地方,一定要指点出来

2008-12-15

这本书可以让你学懂三层架构 PDF

这本书很详细的讲解了三层架构,推荐有一定开发经验的朋友下载来看看,很不错的。。

2008-12-15

Java实现酒店管理系统源码,Swing技术

用swing实现的系统,其中包括实现源码,数据库文件。大家下载下来可以研究研究。。

2008-12-14

C++写的图书管理系统源码

vc++开发,图书管理,源码共享,希望大家可以指出设计不当之处。

2008-12-14

JAVA开发员工管理系统源码Swing

源码,库文件,还有设计文档,需要的朋友请下载。

2008-12-14

C#基于RTU的串口通信

基于RTU协议的串口通信程序 本程序是为数采仪写的,定时从数据库中读取数据,然后定时发送到数采仪,大家下载后可以只提取其中的通信部分。

2008-12-08

C#中用SOCKET发送HTTP请求小例

C#中用SOCKET发送HTTP请求小例 自行组织http报文,报显示服务器反馈回来的报头与报体信息。 ------------- HTTP/1.1 200 OK Date: Mon, 08 Dec 2008 14:20:51 GMT Server: BWS/1.0

2008-12-08

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除