首页 > 2014年03月20日 > 全部分享
生产者与消费者问题
生产者与消费者问题是进程管理中的问题1、信号量与PV操作信号量:解决多个进程来竞争的资源的同步与互斥的问题,每个信号量需要有特定的意义,需要有初值。PV操作:它是两条原语信号量的初值只能通过PV操作来改变PV操作P操作V操作s=s-1若s>=0表示进程要继续s<0资源受限,..
分类:其他   时间:2014-03-20 21:01:29    收藏:0  评论:0  赞:0  阅读:565
OpenStack 当前项目列表
openstack-dev/cookiecutteropenstack-dev/devstackopenstack-dev/grenadeopenstack-dev/hackingopenstack-dev/heat-cfnclientopenstack-dev/openstack-noseopenstack-dev/openstack-qaopenstack-dev/oslo-cookiecutteropenstack-dev/pbropenstack-dev/sandboxopenstack-infra/..
分类:其他   时间:2014-03-20 10:12:19    收藏:0  评论:0  赞:0  阅读:1058
RHEL 6.2 64位安装ORACLE 11G R2
1、安装环境:操作系统及版本[root@stone~]#cat/etc/issueRedHatEnterpriseLinuxServerrelease6.2(Santiago)内存设置[root@stone~]#free-mtotalusedfreesharedbufferscachedMem:1063721341025387-/+buffers/cache:309754Swap:199901999#内存至少1G,swap至少为1.5倍内存磁盘分..
分类:数据库技术   时间:2014-03-20 18:40:12    收藏:0  评论:0  赞:0  阅读:783
Apache CloudStack: Mailing Lists
Ifyou‘reinterestedinlearningmoreorparticipatingintheApacheCloudStackproject,themailinglistsarethebestwaytodothat.Whiletheprojecthasseveralcommunicationschannels,themailinglistsarethemostactiveandtheofficialchannelsformakingdecisionsabouttheprojectitself."If..
分类:其他   时间:2014-03-20 18:40:41    收藏:0  评论:0  赞:0  阅读:441
OpenStack Mailing Lists
GeneralListTheopenstack@lists.openstack.orggeneralmailinglististhemostactivelist.YoushouldjointhislistwhenyoustarttoknowOpenStack.Requestforhelpandcommunityannouncementsareallowedonthislist.Itsratecanbeupto100messagesperday.YoushouldfollowtheMailingListEtiq..
分类:其他   时间:2014-03-20 18:10:20    收藏:0  评论:0  赞:0  阅读:502
测试部日常工作所需的工具流程及模板
=测试部需要建设的工具平台=*缺陷跟踪平台缺陷也就是bug,也有叫MR(ModifyRequirement)的,是测试工程师日常工作成果的最直接的展现。提交bug时逻辑清楚叙事通顺是首要的,有点像是写一篇记叙文,时间地点人物起因经过结果都应该有。常见的缺陷跟踪平台有Bugzilla,Clearquest,Ji..
分类:其他   时间:2014-03-20 18:40:09    收藏:0  评论:0  赞:0  阅读:475
Web服务其三编译安装httpd-2.4.9
之前已经讲过web基本概念与http请求响应报文,下面将以编译方式来安装http2.4.9服务器软件。与httpd2.2相比,httpd2.4增加了如下特性:1、MPM可于运行时装载;2、EventMPM3、异步读写4、在每模块及每目录上指定日志级别;5、每请求配置;<If>,<ElseIf>,<Else>..
分类:Web开发   时间:2014-03-20 18:08:14    收藏:0  评论:0  赞:0  阅读:585
iOS 利用UIScrollView实现对单个试图缩放并可以滚动
这个例子实现滚动视图,并可以对单个视图缩放 MyScroolView.h #import @interface MyScroolView : UIScrollView @property (strong , nonatomic) UIImageView* m_imageView; @end MyScroolView.m // // MyScroolView.m // Sc...
分类:移动平台   时间:2014-03-20 21:03:23    收藏:0  评论:0  赞:0  阅读:633
win8 win8.1 win7远程桌面配置 多用户登陆 声音客户端播放
服务器端 1. win+pause break进入【系统】选项,点击【高级系统设置】,切换到【远程】选项卡,选中【允许远程协助连接这台计算机】,和【允许远程连接到此计算机】,并将【仅允许运行使用网络级别···】取消选中状态。 2.下载Win8.1 远程多用户补丁http://download.csdn.net/detail/resorcap/7068735,并按照说明文档进行替换。...
分类:Windows开发   时间:2014-03-20 18:10:49    收藏:0  评论:0  赞:0  阅读:778
使用nginx搭建媒体点播服务器
使用nginx搭建媒体点播服务器 最新由于兴趣,对ubuntu和安卓上的视频点播直播等应用比较感兴趣,所以在vmware的虚拟机里面搭建了一个视频点播网站,参考了fengzhanhai的文章Nginx搭建视频点播服务器(仿真专业流媒体软件)。 1,环境的准备 1)下载vmware,当然破解版本 2)安装ubuntu 64bit版本,老的电脑可能需要bios里面设置,设置方法百度去。 3)...
分类:其他   时间:2014-03-20 10:20:28    收藏:0  评论:0  赞:0  阅读:482
系统调用与标准函数库(上)
所谓系统调用其实是操作系统提供给用户程序的一组“特殊”函数接口,可以直接这么去理解,操作系统是一个很大的“函数库”,它给程序员提供了很多可以调用的函数。        系统调用按照功能逻辑大致可分为:进程控制、进程间通信、文件系统控制、系统控制、内存管理、网络管理、socket控制、用户管理。在Linux的不同版本中,提供了两三百个系统调用,用户程序可以通过这组接口获得操作系统(内核)提供的服务...
分类:其他   时间:2014-03-20 18:09:29    收藏:0  评论:0  赞:0  阅读:400
【安卓笔记】使用ViewPager+Fragment实现选项卡切换效果
显示效果: 实现过程: 1.创建3个选项卡中的内容,即三个Fragment。 这里仅贴出其中一个: Tab2: package com.example.viewpagerdemo3; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view....
分类:移动平台   时间:2014-03-20 21:13:28    收藏:0  评论:0  赞:0  阅读:901
android异步加载图片类(续)-universal-image-loader详解
之前写过一篇android异步加载图片类 ,后来接触了一个开源项目universal-image-loader,听说淘宝也是用这玩意 发现自己写的那个异步加载类太简单了,虽然功能是实现了,但是很多优化的问题都没有解决 比如: 同一个ui加载同一张图,会出现只加载一张,其他的加载不了 加载多图的时候会有oom等问题 现在来说说universal-image-loader 特点:...
分类:移动平台   时间:2014-03-20 18:10:04    收藏:0  评论:0  赞:0  阅读:596
[LeetCode] Valid Number
Validate if a given string is numeric. Some examples: "0" => true " 0.1 " => true "abc" => false "1 a" => false "2e10" => true Note: It is intended for the problem statement to be ambiguo...
分类:其他   时间:2014-03-20 09:48:54    收藏:0  评论:0  赞:0  阅读:401
python数据库批量查询,批量保存
# Create your views here. #-*-coding:utf-8-*- from django.template import loader,Context,Template from django.http import HttpResponse from models import User from django.shortcuts import render_...
分类:数据库技术   时间:2014-03-20 18:07:41    收藏:0  评论:0  赞:0  阅读:646
linux内核学习——工作队列
由于CPU要处理中断,而且中断都要求尽快执行结束,所以对于大量的程序处理都会放到下半部去执行。常用的下半部有:软中断、任务队列、工作队列等。 其中比较好用,也比较常用的是工作队列。 工作队列使用时我觉得一般会有以下几部分来共同使用。 struct workqueue_struct my_wq; //工作队列,用于通知工作者工作 struct work_struct my_wo...
分类:系统服务   时间:2014-03-20 09:43:07    收藏:0  评论:0  赞:0  阅读:642
LeetCode | EditDistance
题目 Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.) You have the following 3 operations permitted on...
分类:其他   时间:2014-03-20 10:28:04    收藏:0  评论:0  赞:0  阅读:420
KALDI学习笔记——Clustering mechanisms in Kaldi
KALDI学习笔记——Clustering mechanisms in Kaldi...
分类:其他   时间:2014-03-20 18:07:48    收藏:0  评论:0  赞:0  阅读:537
【读书札记】《淘宝技术这十年》
今天是工作的一个月纪念日...
分类:其他   时间:2014-03-20 18:40:25    收藏:0  评论:0  赞:0  阅读:435
LeetCode | Climbing Stairs
题目 You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? 分析 动态规划,斐波那契额数列 代码 ...
分类:其他   时间:2014-03-20 18:10:10    收藏:0  评论:0  赞:0  阅读:460
1875条   上一页 1 ... 54 55 56 57 58 ... 94 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!