每日总结一:

1. Delgeage method niming()method. The paramether will be compile with the method.
2. Delal the xml with namespace
3. Serize xml and deserize.

 

xml反序列化时,如何生成与之对应的类文件

http://www.ziyuan3.com/webpro/article/935.aspx

 

 

4. Soap message struct.
5. how the server envent is update in client (httppushnotification and
6. The sock xieyi (need define a inner xieyi like sequenceId. and

IsServerEvernt " Update"
7. Sock send, and recevie, how to deal with, Refer to socktest in study folder

code.
8. mansual server deep understant.
9.

 

9. Thread to start method with parameter, the method must be with object type parameter.

--------------------
1.threa safe and data sync
2.lock and manaulresetevent differnce?

http://www.cnblogs.com/fangzheng/archive/2010/03/29/1699799.html
http://www.cnblogs.com/fangzheng/archive/2010/06/07/1750205.html
http://msdn.microsoft.com/en-us/library/ms173179.aspx#Y370

 

The argument provided to the lock keyword must be an object based on a reference type, and is used to define the scope of the lock. In the example above, the lock scope is limited to this function because no references to the object lockThis exist outside the function. If such a reference did exist, lock scope would extend to that object. Strictly speaking, the object provided is used solely to uniquely identify the resource being shared among multiple threads, so it can be an arbitrary class instance. In practice, however, this object usually represents the resource for which thread synchronization is necessary. For example, if a container object is to be used by multiple threads, then the container can be passed to lock, and the synchronized code block following the lock would access the container. As long as other threads locks on the same contain before accessing it, then access to the object is safely synchronized.

10. why the other object can be access by other thread, other uI control object can not be accessed by the other thread?


11. Carefully when use the lock and wait, if Loca( wait()), othertherd cause this lockobjec will create dead lock.

12. ThreadPool.QueueUserWorkItem(DoWork, command); 

13. this.invoke


9. Thread to start method with parameter, the method must be with object type parameter.

--------------------
1.threa safe and data sync
2.lock and manaulresetevent differnce?

http://www.cnblogs.com/fangzheng/archive/2010/03/29/1699799.html
http://www.cnblogs.com/fangzheng/archive/2010/06/07/1750205.html
http://msdn.microsoft.com/en-us/library/ms173179.aspx#Y370

 

The argument provided to the lock keyword must be an object based on a reference type, and is used to define the scope of the lock. In the example above, the lock scope is limited to this function because no references to the object lockThis exist outside the function. If such a reference did exist, lock scope would extend to that object. Strictly speaking, the object provided is used solely to uniquely identify the resource being shared among multiple threads, so it can be an arbitrary class instance. In practice, however, this object usually represents the resource for which thread synchronization is necessary. For example, if a container object is to be used by multiple threads, then the container can be passed to lock, and the synchronized code block following the lock would access the container. As long as other threads locks on the same contain before accessing it, then access to the object is safely synchronized.

10. why the other object can be access by other thread, other uI control object can not be accessed by the other thread?


11. Carefully when use the lock and wait, if Loca( wait()), othertherd cause this lockobjec will create dead lock.

12. ThreadPool.QueueUserWorkItem(DoWork, command); 

13. this.invoke

 

转载于:https://www.cnblogs.com/Jessy/archive/2011/11/10/2244523.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值