码迷,mamicode.com
首页 >  
搜索关键字:condition variable    ( 5846个结果
Java如何实现线程之间的互斥
给出一个题目,有3个线程,我希望线程1向控制台输出3行信息后,线程2向控制台输出6行信息,接下来是线程3输出10行信息到控制台,如此循环10次。在一个线程输出信息的时候,其他线程不能产生干扰。packagecom.concurrent.condition;importjava.util.concur...
分类:编程语言   时间:2014-06-16 10:26:06    阅读次数:484
指针入门
& produces the address of its operand. For example,the following statements an integer variable 'a' and apointer to an integer variable 'p' are dec...
分类:其他好文   时间:2014-06-15 20:41:58    阅读次数:155
从epoll构建muduo-11 多线程入场
多线程代码被加入到mini-muduo,本篇主要介绍Linux多线程编程的5个类 1 Mutex 2 Condition 3 BlockingQueue 4 Thread 5 ThreadPool...
分类:编程语言   时间:2014-06-15 19:23:00    阅读次数:348
关于pydev的语法的错误提示
第三方包引入时,eclipse默认会把一些包定为错误的,错误是:“undefined variable from import...” 其实是对的,可是报错,很烦人解决方法:window -- preferences -- pydev -- editor -- code analysis -- Un...
分类:其他好文   时间:2014-06-15 18:40:06    阅读次数:175
【python】UnboundLocalError: local variable 'counter' referenced before assignment
【python】UnboundLocalError: local variable 'counter' referenced before assignment...
分类:编程语言   时间:2014-06-15 16:15:26    阅读次数:515
Oracle 11g安装报错Environment variable: "PATH"
Environment variable: "PATH" - This test checks whether the length of the environment variable "PATH" does not exceed the recommended length.预期值:1023实...
分类:数据库   时间:2014-06-12 17:25:20    阅读次数:633
[转]printk usage
原文地址:http://elinux.org/Debugging_by_printing#Usage If variable is of Type, use printk format specifier:----------------------------------------------....
分类:其他好文   时间:2014-06-12 08:17:15    阅读次数:297
可变长度子网掩码和无类域间路由
VLSM (Variable Length Subnet Mask:可变长子网掩码)        VLSM的定义:为了有效的使用无类别域间路由(CIDR)和路由汇总来控制路由表的大小,网络管理员使用先进的IP寻址技术,VLSM就是其中的常用方式。        VLSM的作用:在类的IP地址的基础上,从主机号部分借出相应的位数来做网络号,也就是增加网络号的位数。使用可变长度子网掩码的目的,就...
分类:其他好文   时间:2014-06-10 06:24:20    阅读次数:265
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!