Skip to content

Commit

Permalink
some change
Browse files Browse the repository at this point in the history
some change
  • Loading branch information
ForrestPi committed Aug 1, 2016
1 parent 8143e94 commit c317cd5
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 12 deletions.
16 changes: 8 additions & 8 deletions Blog/2015-10-20-DNA-Sequncer.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,28 @@ description: 高通量基因测序
国内对基因测序技术的研究主要集中在二代测序仪器的研发、测序技术的应用推广和测序序列的分析,主要的科研机构和企业有中科院北京基因组研究所和深圳华大基因等。

###高通量基因测序技术-测序原理
![seq1](/images/DNAsequncer/seq1.PNG)
![seq1](/Blog/images/DNAsequncer/seq1.PNG)

![seq2](/images/DNAsequncer/seq2.PNG)
![seq2](/Blog/images/DNAsequncer/seq2.PNG)

![seq3](/images/DNAsequncer/seq3.PNG)
![seq3](/Blog/images/DNAsequncer/seq3.PNG)

###基因测序硬件技术-硬件总体设计

![Model](/images/DNAsequncer/Model.png)
![Model](/Blog/images/DNAsequncer/Model.png)

###桥式PCR扩增模块

![PCRbridge](/images/DNAsequncer/PCRbridge.png)
![PCRbridge](/Blog/images/DNAsequncer/PCRbridge.png)

###荧光图像处理算法

![light](/images/DNAsequncer/light.png)
![imageprocess](/images/DNAsequncer/imageprocess.png)
![light](/Blog/images/DNAsequncer/light.png)
![imageprocess](/Blog/images/DNAsequncer/imageprocess.png)

###总体设计图

![design](/images/DNAsequncer/design.png)
![design](/Blog/images/DNAsequncer/design.png)


[ForrestPi]: http://forrestpi.github.io/ "ForrestPi"
Expand Down
8 changes: 4 additions & 4 deletions Blog/2016-01-23-thread-pool.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ description: 线程池
生产者-消费者模式
> + 同步层是生产者,不断将新任务丢到排队层
> + 消费者是异步层,线程执行排队层的任务
![threadpool](/images/threadpool/threadpool.png)
> ![threadpool](/Blog/images/threadpool/threadpool.png)
###半同步半异步线程池-消费者###

![consumer](/images/threadpool/consumer.png)
![consumer](/Blog/images/threadpool/consumer.png)

###半同步半异步线程池-生产者###

![producer](/images/threadpool/producer.png)
![producer](/Blog/images/threadpool/producer.png)

###半同步半异步线程池特性###
半同步半异步线程池特性介绍:
Expand All @@ -35,7 +35,7 @@ description: 线程池
> + 开源、通用性强
###源码链接###
> [线程池库](https:://github.com/ForrestPi/ThreadPool "ThreadPool")
> [线程池库](https://github.com/ForrestPi/Cplusplus11_project/tree/master/threadPool"ThreadPool")


Expand Down
44 changes: 44 additions & 0 deletions Code/threadpool.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
layout: post
title: thread pool
category: project
description: 线程池
---
##半同步半异步线程池##
半同步半异步模式线程池:多线程处理更灵活性


###线程池有两个活动过程:###
> + 外面不停的往线程池添加任务
> + 线程池内部不停的取任务执行
引入设计模式思想,实现解耦,提高代码可复用性
生产者-消费者模式
> + 同步层是生产者,不断将新任务丢到排队层
> + 消费者是异步层,线程执行排队层的任务
> ![threadpool](/Code/images/threadpool/threadpool.png)
###半同步半异步线程池-消费者###

![consumer](/Code/threadpool/consumer.png)

###半同步半异步线程池-生产者###

![producer](/Code/images/threadpool/producer.png)

###半同步半异步线程池特性###
半同步半异步线程池特性介绍:
> + 锁机制、条件变量实现线程安全
> + 右值引用、move移动语义、forward完美转发减少内存占用率
> + 实现对不同系统平台以及不同编译环境的兼容性
> + 半同步半异步线程池为轻量级线程池库,具有极佳的可伸缩性
> + 开源、通用性强
###源码链接###
> [线程池库](https://github.com/ForrestPi/Cplusplus11_project/tree/master/threadPool"ThreadPool")



[ForrestPi]: http://forrestpi.github.io/ "ForrestPi"
[1]: {{ page.url}} ({{ page.title }})
Binary file added Code/threadpool/consumer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Code/threadpool/producer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Code/threadpool/threadpool.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c317cd5

Please sign in to comment.