码迷,mamicode.com
首页 >  
搜索关键字:rt thread    ( 14779个结果)
SAS9.3 64位版Win7安装指引
SAS9.3 64位版安装指引 换了新电脑,安装原来使用的SAS9.2之后,增强型编辑器一直不能被加载,尝试了各种方法,浪费了一天的时间。无奈下载了SAS9.3 64位版本,但是安装也不顺利,当然主要是JDK出现了问题,参考了网友的文章,顺利完成了安装,另注操作系统为win7 64位版。 原文地址:http://f.dataguru.cn/thread-161588-1-1.html 1,主...
分类:Windows程序   时间:2014-07-18 18:15:50    阅读次数:686
Timer与AlarmManager的区别
线程 通过调用Thread类的 start()方法来启动一个线程,这时此线程处于就绪(可运行)状态,但此时并没有运行,它需要CPU时间片。一旦得到CPU时间片,就会执行run()方法。run()的方法体称为线程体,它包含了要执行的这个线程的内容,run()方法运行结束,此线程也随即终止。 线程状态转换 一、新建(new):新创建了一个线程对象。 二、可运行(runnable):线程...
分类:其他好文   时间:2014-07-18 18:03:26    阅读次数:180
关于Socket编写简单聊天工具的总结(原创)
这段时间再看socket编程,虽然现在是刚刚接触,但是还是忍不住想写一篇总结,来激励自己努力学习,写的不好的地方,还请大家指教啊! 下面针对一个简单的发送消息和文件的程序说说吧。 首先是服务器需要准备二个Socket和二个Thread如下://和客户机进行通信 private Soc...
分类:其他好文   时间:2014-07-18 17:23:07    阅读次数:290
Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: PermGen space
在Eclipse 调试 springside showcase项目中,tomcat报异常 Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: PermGen space在google半天后,找到解决方法...
分类:编程语言   时间:2014-07-18 15:37:53    阅读次数:307
Producter and Consumer
1 package pinx.thread; 2 3 import java.util.LinkedList; 4 import java.util.Queue; 5 6 public class ProducerConsumer { 7 8 Storage stor...
分类:其他好文   时间:2014-07-18 15:19:28    阅读次数:192
Android 判断当前线程是否是主线程的方法
开发过程中有时候会在Thread类中执行某些操作,有些操作会由于Android版本的不同,尤其是低版本而Crash,因此必要的时候会查看某些容易引起crash的操作是否是在主线程,这里举三种方法: 方法一:使用Looper类判断 Looper.myLooper() != Looper.getMainLooper() 方法二:通过查看Thread类的当前线程 Thread.currentT...
分类:移动开发   时间:2014-07-18 14:02:15    阅读次数:208
corosync+pacemaker实现高可用集群。
实验环境:安装:yuminstallcorosyncpacemaker-y复制配置文件cpcorosync.conf.examplecorosync.confvimcorosync.conf编辑配置文件:compatibility:whitetank是否兼容0.8版本的corosynctotem{定义集群之间心跳信息传递层version:2----版本号secauth:on---是否启用安全认证thread..
分类:其他好文   时间:2014-07-18 13:18:51    阅读次数:353
Python list去重及找出,统计重复项
http://bbs.chinaunix.net/thread-1680208-1-1.html如何找出 python list 中有重复的项http://www.cnblogs.com/feisky/archive/2012/12/06/2805251.html比较容易记忆的是用内置的setl1 ...
分类:编程语言   时间:2014-07-18 09:39:20    阅读次数:512
advanced linux programming note
1.pthread_create function creates thread that share the same memory with the process.2.pthread_join function wait for threads until they stop3.The pth...
分类:系统相关   时间:2014-07-18 00:19:54    阅读次数:317
kali系统安装
kali live 安装到U盘http://www.backtrack.org.cn/thread-17197-1-1.html用Live U盘安装Kali Linuxhttp://cn.docs.kali.org/installing-kali-linux-cn/%E7%94%A8live-u%E...
分类:其他好文   时间:2014-07-17 21:35:06    阅读次数:244
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!