码迷,mamicode.com
首页 >  
搜索关键字:desktop lock    ( 17674个结果
JavaScript学习-require的用法
当js代码需要调用其他js文件的方法时,就需要用到require引入其他js文件例:1、桌面新建一个test.js文件 cd Desktop touch test.js2、进入该js文件 vim test.js3、输入“i”进行编辑该js文件 例如输入内容: var a = 12; co...
分类:编程语言   时间:2014-09-18 11:15:23    阅读次数:146
Method and apparatus for speculative execution of uncontended lock instructions
A method and apparatus for executing lock instructions speculatively in an out-of-order processor are disclosed. In one embodiment, a prediction is ma...
分类:移动开发   时间:2014-09-18 01:57:13    阅读次数:283
Efficient ticket lock synchronization implementation using early wakeup in the presence of oversubscription
A turn-oriented thread and/or process synchronization facility obtains a ticket value from a monotonically increasing ticket counter and waits until a...
分类:其他好文   时间:2014-09-18 00:32:33    阅读次数:343
Java 理论与实践: JDK 5.0 中更灵活、更具可伸缩性的锁定机制
新的锁定类提高了同步性 —— 但还不能现在就抛弃 synchronizedJDK 5.0为开发人员开发高性能的并发应用程序提供了一些很有效的新选择。例如,java.util.concurrent.lock中的类ReentrantLock被作为 Java 语言中synchronized功能的替代,它具...
分类:编程语言   时间:2014-09-17 13:38:32    阅读次数:296
jboss7.1.0配置数据库(mysql)
以jboss7.1.0和mysql为例1、找到安装目录,我的目录是:jboss-as-7.1.0.CR1b2、找到standalone.xml,这个文件在我的电脑上是C:\Users\dan\Desktop\jboss-as-7.1.0.CR1b\standalone\configuration3、...
分类:数据库   时间:2014-09-17 12:01:22    阅读次数:325
svn解锁
1、点击文件右键,选择get lock 2、勾上steal the locks 3、之后再进行Release Lock操作即可。
分类:其他好文   时间:2014-09-17 10:30:32    阅读次数:156
android 4.0 禁用系统home键(续)
上次的方法,我亲测在note3以及s5上可用。但有热心的朋友回复说在其他类型手机上无法成功禁用系统home键。 于是我又去搜了下,最后发现这一篇帖子: 跪求屏蔽home键和recentApp的方法 !!  http://c.tieba.baidu.com/p/3225440025?pn=2 在这篇帖子的最后面有一个很简单的方法,应该可以实现我们所需要的功能。(貌似华为的手机...
分类:移动开发   时间:2014-09-16 22:08:31    阅读次数:262
Java并发学习之十四——使用Lock同步代码块
本文是学习网络上的文章时的总结,感谢大家无私的分享。 Java提供另外的机制用来同步代码块。它比synchronized关键字更加强大、灵活。Lock 接口比synchronized关键字提供更多额外的功能。在使用Lock时需要注意的是要释放Lock锁。 package chapter2; import java.util.concurrent.locks.Lock; import ...
分类:编程语言   时间:2014-09-16 20:39:31    阅读次数:187
Android中Handler使用
使用: Bundle bundle = new Bundle(); Message message = dummyHandler.obtainMessage(EVENT_SET_LOCK_CLICK); message.arg1 = 101; bundle.putString("lockList", lockList); message.setData(bundle); dummyH...
分类:移动开发   时间:2014-09-16 19:01:50    阅读次数:222
Android多线程研究(9)——读写锁
一、什么是锁在Java的util.concurrent.locks包下有关于锁的接口和类如下:先看一段代码:package com.codeing.snail.test; public class ReadWriteLockTest { public static void main(String[] args) { final Output output = new Output();...
分类:移动开发   时间:2014-09-16 00:20:29    阅读次数:338
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!