码迷,mamicode.com
首页 >  
搜索关键字:concurrency    ( 600个结果
UVa 210 Concurrency Simulator (双端队列+模拟)
题意:给定n个程序,每种程序有五种操作,分别为 var = constant(赋值),print var (打印), lock, unlock,end。 变量用小写字母表示,初始化为0,为程序所公有(一个程序里对某个变量修改可以会影响其他程序里的这个变量), 常数小于100(也就是说最多两位数)。 ...
分类:其他好文   时间:2016-06-12 21:59:28    阅读次数:264
General mistakes in parallel computing
这是2013年写的一篇旧文,放在gegahost.net上面 http://raison.gegahost.net/?p=97 March 11, 2013 General mistakes in parallel computing Filed under: concurrency,softwar ...
分类:其他好文   时间:2016-06-10 08:28:56    阅读次数:159
life of a NPTL pthread
这是2013年写的一篇旧文,放在gegahost.net上面 http://raison.gegahost.net/?p=91 March 7, 2013 life of a NPTL pthread Filed under: concurrency,linux,posix — Tags: NPTL ...
分类:其他好文   时间:2016-06-10 08:28:16    阅读次数:201
Thread in Java
References: [1]. http://www.javaworld.com/article/2074481/java-concurrency/java-101--understanding-java-threads--part-4 thread-groups--volatility--and ...
分类:编程语言   时间:2016-06-07 01:11:11    阅读次数:238
Exchanger, Changing data between concurrent tasks
The Java concurrency API provides a synchronization utility that allows the interchange of data between two concurrent tasks. In more detail, the Exch ...
分类:其他好文   时间:2016-06-02 19:45:09    阅读次数:219
Java Concurrency - Phaser, Controlling phase change in concurrent phased tasks
The Phaser class provides a method that is executed each time the phaser changes the phase. It's the onAdvance() method. It receives two parameters: t ...
分类:编程语言   时间:2016-06-02 18:07:46    阅读次数:173
Java Concurrency - 浅析 Phaser 的用法
One of the most complex and powerful functionalities offered by the Java concurrency API is the ability to execute concurrent-phased tasks using the P ...
分类:编程语言   时间:2016-06-02 16:20:12    阅读次数:274
Java Concurrency - 浅析 CountDownLatch 的用法
CountDownLatch 是一个同步辅助类,在完成一组正在其他线程中执行的操作之前,它允许一个或多个线程一直等待。 用给定的计数初始化 CountDownLatch。由于调用了 countDown() 方法,所以在当前计数到达零之前,await 方法会一直受阻塞。之后,会释放所有等待的线程,aw ...
分类:编程语言   时间:2016-06-01 23:12:27    阅读次数:228
[CSAPP笔记][第十二章并发编程]
第十二章 并发编程如果逻辑控制流在时间上是重叠,那么它们就是并发的(concurrent)。这种常见的现象称为并发(concurrency)。 硬件异常处理程序,进程和Unix信号处理程序都是大家熟悉的例子。 我们主要将并发看做是一种操作系统内核用来运行多个应用程序的机制。 但是,并发不仅仅局限于内核。它也可以在应用程序中扮演重要的角色。例如Unix信号处理程序如何允许应用响应异步事件 例如:用户...
分类:移动开发   时间:2016-06-01 06:51:40    阅读次数:201
《C++ Concurrency in Action》读书笔记三 同步并发操作
本章要点 *等待事件 *使用futures等待一次性事件(waiting for one-off events with futures) *等待时间限制 *使用同步操作来简化代码 这章主要描述了如何使用条件变量和futures来等待事件,以及如何使用他们来使线程同步操作更加简化....
分类:编程语言   时间:2016-05-27 13:07:11    阅读次数:353
600条   上一页 1 ... 30 31 32 33 34 ... 60 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!