码迷,mamicode.com
首页 >  
搜索关键字:rt thread    ( 14779个结果)
Java入门-浅析Java学习从入门到精通【转】
一、 JDK (Java Development Kit) JDK是整个Java的核心,包括了Java运行环境(Java Runtime Envirnment),一堆Java工具和Java基础的类库(rt.jar)。不论什幺Java应用服务器实质都是内置了某个版本的JDK。因此掌握 JDK是学好Ja...
分类:编程语言   时间:2014-09-26 19:47:48    阅读次数:374
python threading基础学习
#-*-coding:utf-8-*-#python:2.x__author__='Administrator'"""python是支持多线程的,并且是native的线程。主要是通过thread和threading这两个模块来实现的。thread是比较底层的模块,threading是对thread做...
分类:编程语言   时间:2014-09-26 19:19:28    阅读次数:183
PS4 Razor GPU
这东西,从出来就感觉没用,各种请教也都没有帮助。虽然搞明白了 rt啊tex啊buffer啊但是就是感觉对于抓bug没有用处。所以从来都是像巫师一样靠直觉,再用科学的方法来测试,其实就是让ps return某些值来测试。直到有一天事情发生了改变,,,,有一天我从一个同事那里得知,replay这个按钮。...
分类:其他好文   时间:2014-09-26 13:21:28    阅读次数:144
python 多线程编程
一)线程基础1、创建线程:thread模块提供了start_new_thread函数,用以创建线程。start_new_thread函数成功创建后还能够对其进行操作。其函数原型: start_new_thread(function,atgs[,kwargs])其參数含义例如以下: function:...
分类:编程语言   时间:2014-09-26 12:47:48    阅读次数:221
Servlet Threading Model
Servlet Threading ModelThe scalability issues of Java servlets are caused mainly by the server threading model:Thread per connectionThe traditional IO...
分类:其他好文   时间:2014-09-26 03:11:28    阅读次数:271
Thread和Runnable
class TestThread extends Thread{ public void run(){ for(int i=0;i<10;i++){ System.out.println(Thread.currentThread().getName()+"---is r...
分类:其他好文   时间:2014-09-26 02:44:48    阅读次数:138
循环删除list中多个元素
错误的做法: for(int i= 0;i<list.size();i--){ for(int j= 0; j<list2.size();j++){ if(list.get(i).contains(list2.get(j))){ list.remove(i); } } } 结果:Exception in thread "main" j...
分类:其他好文   时间:2014-09-26 00:33:58    阅读次数:219
Thread的run和start
package thread;class TestThread extends Thread{ public void run(){ for(int i=0;i<20;i++){ System.out.println(Thread.currentThread().get...
分类:其他好文   时间:2014-09-26 00:08:27    阅读次数:200
java线程不安全
线程不安全之线程在访问资源时候会导致冲突。 例如下列的例子 package com.test.thread; public class TestConfilict { /** * @param args */ public static void main(String[] args) { Counter counter=new Counter(); for...
分类:编程语言   时间:2014-09-25 23:29:18    阅读次数:311
Architecture of a Highly Scalable NIO-Based Server
一。thread-per-connectionThe thread-per-connection approach uses an exclusive worker thread foreach connection. Within the handling loop, a worker threa...
分类:其他好文   时间:2014-09-25 21:51:07    阅读次数:185
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!