码迷,mamicode.com
首页 >  
搜索关键字:rt thread    ( 14779个结果
MyEclipse10 开发 Android 环境配置
RT... 最近趁我还有点时间,打算在搞下Android.. 现在来记录一下我在MyEclipse10 搭建Android环境. 首先就是你要装MyEclipse10 ..破解之类这么和谐的事情我是不懂的. 好了. 之后就是ADT了..什么是ADT呢?简单来说就是一个帮助你在Eclipse下开发Android的插件. 可以再这个地址(http://developer.android.c...
分类:移动开发   时间:2014-05-13 05:53:47    阅读次数:434
C语言文件操作(一)
实例1:读写字符文件,每次读取一个字符。#include<stdio.h>#include<stdlib.h>intmain(){FILE*fpin;FILE*fpout;charc;fpout=fopen("c:\\dest.txt","wt");if((fpin=fopen("c:\\test.txt","rt"))!=NULL){c=fgetc(fpin);while(c!=EOF){fputc(c,fpout);c=fgetc(fpin);..
分类:编程语言   时间:2014-05-12 03:57:13    阅读次数:238
C语言文件操作(二)
实例2:读取字符文件,每次读入一个缓存里面。#include<stdio.h>#include<stdlib.h>#defineMAXLEN1024intmain(){FILE*fin;FILE*fout=fopen("c:\\dest.txt","wt");charbuf[MAXLEN];if((fin=fopen("c:\\test.txt","rt"))!=NULL){char*c=fgets(buf,MAXLEN,fin);while(..
分类:编程语言   时间:2014-05-12 02:57:48    阅读次数:251
C#:多线程、线程同步与死锁
推荐阅读:C#线程系列讲座(1):BeginInvoke和EndInvoke方法C#线程系列讲座(2):Thread类的应用C#线程系列讲座(3):线程池和文件下载服务器C#线程系列讲座(4):同步与死锁C#线程系列讲座(5):同步技术之Monitor
分类:编程语言   时间:2014-05-12 01:07:56    阅读次数:309
并发 错误 java.lang.IllegalMonitorStateException: current thread not owner 分析
public class ThreadTest implements Callable { public String call() throws Exception { // TODO Auto-generated method stub wait(10000); return "hello"; } }调用代码: public static void main(Stri...
分类:编程语言   时间:2014-05-11 21:27:24    阅读次数:533
线段树模板
转载请注明出处:http://blog.csdn.net/u012860063 #include #include using namespace std; #define lson l , m , rt << 1 #define rson m + 1 , r , rt << 1 | 1 //lson和rson分辨表示结点的左儿子和右儿子 //rt表示当前子树的根(root),也就是...
分类:其他好文   时间:2014-05-11 18:55:14    阅读次数:277
整理:java定时器。
本文纯属个人思路,如有错误,请指正。java的Timer依赖Thread,每一个Timer实际上都是一个Thread。import java.util.TimerTask;/** * 本类仅为实现TimerTask,意义不大。 * @author 9082046**@qq.com * */publi...
分类:编程语言   时间:2014-05-10 23:32:39    阅读次数:637
JS经典拼板游戏
原文链接:http://www.guimigame.com/thread-49-1-1.html,对于代码有什么不明白的地方,可以到这里给我发问哦! 效果演示 废话不多说了,直接上代码! JS重现_经典拼板游戏 *{margin:0;padding:0;} .shell{margin:20px auto;position:relative;width:499px;height:...
分类:Web程序   时间:2014-05-10 03:45:50    阅读次数:425
Linux 查看系统硬件信息(实例详解)
cpulscpu命令,查看的是cpu的统计信息.blue@blue-pc:~$lscpu Architecture:i686#cpu架构 CPUop-mode(s):32-bit,64-bit ByteOrder:LittleEndian#小尾序 CPU(s):4#总共有4核 On-lineCPU(s)list:0-3 Thread(s)percore:1#每个cpu核,只能支持一个线程,即不支持超线程 Core(s)perso..
分类:系统相关   时间:2014-05-09 21:21:28    阅读次数:579
(转)IOS App中揉合讯飞SDK功能详细
转至:http://www.sufeinet.com/thread-2488-1-1.html如何使用讯飞的语音SDK加入到你的iPhone应用中吧!1.首先请先到讯飞官方网站的开发者专区(http://open.voicecloud.cn/developer.php)。如果你还没有注册,那么需要先...
分类:移动开发   时间:2014-05-09 20:16:24    阅读次数:579
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!