码迷,mamicode.com
首页 > 2014年06月26日 > 全部分享
线程的一些感悟
背景:通过一个辅助线程计算出的一个值赋给textBox1.text;1.当点击一个button事件 去触发一个while(1)的循环事件时,如果不用线程去操作 界面就会卡死解决方法:需要加入线程。2然后发现在线程中去操作一个控件的显示(比如 textBox1.text=“”;)时会产生如下error...
分类:编程语言   时间:2014-06-26 23:03:38    阅读次数:289
Reorder List
Given a singly linked listL:L0→L1→…→Ln-1→Ln,reorder it to:L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' values.For exam...
分类:其他好文   时间:2014-06-26 23:04:14    阅读次数:221
MMS服务学习
1.分类:1)带确认服务如后台的遥控操作2)不带确认的如测控装置定时的电流、电压遥测量的上送2.MMS基本思想屏蔽具体装置技术细节实现异构装置之间的互联互通 ,各装置必须按照MMS的规范完成VMD与实际装置之间的映射3.MMS对象和服务1)VMD模型包含以下内容:i)对象、属性(名字、值、类型)ii...
分类:其他好文   时间:2014-06-26 23:05:29    阅读次数:198
打开网页时快时慢
lnmp架构,发现同一个网页打开时快时慢,上下行流量极小,测试中,查看nginx错误日志,发现这么一句“PHPmessage:PHPWarning:file_get_contents(http://url/index.php?url=yoururl/kjtest):failedtoopenstrea...
分类:Web程序   时间:2014-06-26 23:04:50    阅读次数:426
Leetcode: Reverse Linked List II
Reverse a linked list from position m to n. Do it in-place and in one-pass.For example:Given 1->2->3->4->5->NULL, m = 2 and n = 4,return 1->4->3->2->5...
分类:其他好文   时间:2014-06-26 23:07:29    阅读次数:276
code
public T Clone(T RealObject){ using (System.IO.Stream objectStream = new System.IO.MemoryStream()) { System.Runtime.Serialization.IFormatter formatter...
分类:其他好文   时间:2014-06-26 23:06:46    阅读次数:218
Android -- Intent
Intent Android基本的设计理念是鼓励减少组件间的耦合,因此Android提供了Intent (意图) ,Intent提供了一种通用的消息系统,它允许在你的应用程序与其它的应用程序间传递 Intent 来执行动作和产生事件。使用 Intent 可以激活 Android 应用的三个核心组件:...
分类:移动开发   时间:2014-06-26 23:06:06    阅读次数:306
商务通代码API
无标题 2 ...
分类:Windows程序   时间:2014-06-26 23:08:10    阅读次数:998
ASP.NET MVC中加载WebForms用户控件(.ascx)
原文:ASP.NET MVC中加载WebForms用户控件(.ascx)问题背景博客园博客中的日历用的是ASP.NET WebForms的日历控件(System.Web.UI.WebControls.Calendar),它会为“上一月”、“下一月”的链接生成"__doPostBack()"的js调用...
分类:Web程序   时间:2014-06-26 23:08:47    阅读次数:371
进程 线程
线程共享的内容包括:进程代码段进程的公有数据(利用这些共享的数据,线程很容易的实现相互之间的通讯)、进程打开的文件描述符、信号的处理器、进程的当前目录和 进程用户ID与进程组ID线程独有的内容包括:线程ID寄存器组的值线程的堆栈错误返回码线程的信号屏蔽码
分类:编程语言   时间:2014-06-26 23:09:20    阅读次数:234
JavaScript Patterns 5.3 Private Properties and Methods
This post introduces how to limit the access scope of the field and method of the object.
分类:编程语言   时间:2014-06-26 23:10:37    阅读次数:418
linux使用
1.dpkg: error: dpkg status database is locked by another process 解决办法:sudo rm -rf /var/lib/dpkg/lock2.在64位系统上安装ia32-libs后(Ubuntu执行:sudo apt-get instal...
分类:系统相关   时间:2014-06-26 23:10:00    阅读次数:438
未能正确加载“EditorPackage”包(转)
打开vs2012加载项目的时候报如下的错误:未能正确加载“Microsoft.VisualStudio.Editor.Implementation.EditorPackage”包。此问题可能是由配置更改或安装另一个扩展导致的。可以通过查看文件“C:\Users\zhanggj.PDOMAIN\App...
分类:其他好文   时间:2014-06-26 23:11:14    阅读次数:852
Git 对象
《Git权威指南》第六章
分类:其他好文   时间:2014-06-26 23:11:53    阅读次数:221
Windows下gvim的快捷键--“冒号+w+回车”真的很累人
发现Windows下的gvim支持Ctrl+S保存,Ctrl+A全选,Ctrl+C复制,Ctrl+V粘贴,Ctrl+Z撤销不过Ctrl+X貌似不太正常(可以剪切,但是不能粘贴)可能要在安装目录下的_vimrc文件中加上以下两句才能使用上面提到的快捷键:source $VIMRUNTIME/mswin...
分类:Windows程序   时间:2014-06-26 23:13:08    阅读次数:434
python - 回溯继承树 - 自己实现
# -*- coding: utf-8 -*-class test(object): passclass test1(test): passclass test2(test1): passprint test2.__bases__print type(test2.__bases__...
分类:编程语言   时间:2014-06-26 23:12:27    阅读次数:268
rowid
版本rowid是什么rowid的种类dbms_rowid的应用版本首先,我们所讨论的内容是基于以下oracle 版本SQL> select * from v$version;BANNER---------------------------------------------------------...
分类:其他好文   时间:2014-06-26 00:54:55    阅读次数:1097
1548条   上一页 1 ... 79 80 81 82 83 84 85 ... 92 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!