码迷,mamicode.com
首页 >  
搜索关键字:concurrency    ( 600个结果
210 - Concurrency Simulator【模拟、双端队列】
没有什么特别的,就是按照题意进行模拟,代码有点长。。。 #include #include #include #include #include using namespace std; const int maxn = 222; int n,t[10],q; int Value[maxn]; /* 1 a = 1 2 print 3 lock 4 ...
分类:其他好文   时间:2015-03-14 20:05:30    阅读次数:153
并发与并行 的区别
注:转载出处http://www.cnblogs.com/taven/archive/2012/06/07/2540561.html并发的英文是Concurrency,并行的英文是 Parallel,并发与并行是两个不同的概念。并行是指在同一时刻,有多条指令在多个处理器上同时执行。并发是指在同一时刻...
分类:其他好文   时间:2015-03-05 10:30:37    阅读次数:162
mysql双主复制模型
实验环境:centos6.6mariaDB10.0.10二进制安装这里不再说明安装过程直接开始配置主从节点节点1:172.16.30.1[root@node1~]#vim/etc/mysql/my.cnf thread_concurrency=4 datadir=/mydata/data#数据库存放目录 innodb_file_per_table=1##innodb引擎单表单文件 log-bin=/mydata/bi..
分类:数据库   时间:2015-02-11 02:00:46    阅读次数:182
Go Concurrency
【Go Concurrency】1、Agoroutineis a lightweight thread managed by the Go runtime. 2、Channels are a typed conduit through which you can send and receive ....
分类:其他好文   时间:2015-02-06 20:29:40    阅读次数:177
为什么Java中的String是不可变的?(Why String is immutable o...
There are many reasons due to the string class has been made immutable in Java. These reasons in view, concurrency issues, security issues and perform...
分类:编程语言   时间:2015-02-05 13:30:26    阅读次数:175
UVa210:Concurrency Simulator
Concurrency SimulatorPrograms executed concurrently on a uniprocessor system appear to be executed at the same time, but in reality th...
分类:其他好文   时间:2015-01-30 15:34:44    阅读次数:234
C++ Primer 5 读书笔记 推荐序 像编译器一样来思考和理解C++语言
像编译器一样来思考和理解C++语言。 C++标准库本身就是C++语法的最佳样例。 遵循 google C++ style guide 孟岩 推荐 CPPP 5 C++标准程序库 effective C++ C++ concurrency in action linux多线程服务...
分类:编程语言   时间:2015-01-27 21:46:44    阅读次数:254
[Hive - LanguageManual] Hive Concurrency Model (待)
Hive Concurrency ModelHive Concurrency ModelUse CasesTurn Off ConcurrencyDebuggingConfigurationLocking in Hive TransactionsUse CasesConcurrency suppor...
分类:其他好文   时间:2015-01-26 13:23:37    阅读次数:250
UVa 210 Concurrency Simulator(双端队列)
题意  模拟程序并行运行   STL队列 双端队列 的应用  用双端队列维护即将执行的程序  再用个队列维护等待变量释放的程序   用lock表示变量锁定状态 先将所有程序放到执行队列中  每次取出队首程序运行不超过lim时间  未运行玩又放到执行队列队尾   遇到lock时  若当前锁定状态为false就将锁定状态变为true  否则将当前程序放到等待队列队尾并结束运行  遇到unlock时...
分类:其他好文   时间:2015-01-23 13:21:26    阅读次数:162
The Free Lunch Is Over: A Fundamental Turn Toward Concurrency in Software
The Free Lunch Is OverA Fundamental Turn Toward Concurrency in SoftwareBy Herb SutterThe biggest sea change in software development since the OO revol...
分类:其他好文   时间:2015-01-20 23:46:36    阅读次数:332
600条   上一页 1 ... 44 45 46 47 48 ... 60 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!