http://www.cnblogs.com/lopezycj/archive/2012/05/16/unity3d_tuchao.html https://forum.unity3d.com/threads/time-range-447406-for-translation-curve-s-on- ...
分类:
其他好文 时间:
2017-09-09 15:24:23
阅读次数:
555
一: All member functions (including copy constructor and copy assignment) can be called by multiple threads on different instances of shared_ptr withou ...
分类:
编程语言 时间:
2017-09-08 10:18:05
阅读次数:
455
auto@ubuntu:~/src/SOC/ git push Counting objects: 5, done. Delta compression using up to 4 threads. Compressing objects: 100% (5/5), done. Writing obj... ...
分类:
其他好文 时间:
2017-09-06 12:55:43
阅读次数:
10762
Greenlets, threads, and processes [转载] It's very common in a program to want to do two things at once: repaginate a document while still responding to ...
分类:
其他好文 时间:
2017-09-06 00:47:26
阅读次数:
243
转载自 http://www.cnblogs.com/skywang12345/p/java_threads_category.html JUC:java.util.concurrent 一,JUC原子类 根据修改的数据类型,可以将JUC包中的原子操作类可以分为4类。 1. 基本类型: Atomic ...
分类:
编程语言 时间:
2017-09-03 19:36:29
阅读次数:
210
disabled=false
group_name=group1
bind_addr=172.1.1.1
client_bind=true
port=23000
connect_timeout=30
network_timeout=60
heart_beat_interval=30
stat_report_interval=60
base_path=/data/fastdfs
max_connections=256
buff_size=256KB
accept_threads=1
work_threads=4..
分类:
其他好文 时间:
2017-08-29 09:31:38
阅读次数:
250
之前一位童鞋发的: 5版邮件,在用户量很大的情况下,如果做了分布式,如果在后端mysql上执行: mysql> show global status like 'Thread%'; Threads_cached 0 Threads_connected 793 Threads_created 2397 ...
分类:
数据库 时间:
2017-08-28 00:51:04
阅读次数:
296
最近在看Java Threads第三版,收获颇多。全英文阅读,感觉真的是爽歪歪。推荐大家都看看。 这一篇想系统的讲一讲,线程之间通信的2种模式,wait-notify 和 Condition。 先上一个生产者和消费者的例子 这个例子简单、易懂、易读。首先基于synchronized锁定共享资源(da ...
分类:
其他好文 时间:
2017-08-26 14:25:54
阅读次数:
216
一、线程池 并发的基础是java.lang.Threads类。 Thread执行类型为java.lang.Runnable的对象。 直接使用Thread类有以下缺点: Ø 创建新线程会导致一些性能开销。 Ø 太多的线程可能导致性能下降,因为CPU需要在这些线程之间切换。 Ø 不能轻易地控制线程数,因 ...
分类:
编程语言 时间:
2017-08-18 20:39:21
阅读次数:
341
线程是操作系统分配处理器时间的基本单元,并且进程中可以有多个线程同时执行代码。 每个线程都维护异常处理程序、调度优先级和一组系统用于在调度该线程前保存线程上下文的结构。 线程上下文包括为使线程在线程的宿主进程地址空间中无缝地继续执行所需的所有信息,包括线程的 CPU 寄存器组和堆栈。 .NET Fr... ...
分类:
Web程序 时间:
2017-08-18 11:12:20
阅读次数:
170