E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
pthreads
Pthreads
并行编程之spin lock与mutex性能对比分析
POSIXthreads(简称
Pthreads
)是在多核平台上进行并行编程的一套常用的API。
edward0004
·
2012-10-10 23:00
mutex spinlock
from: http://www.parallellabs.com/2010/01/31/
pthreads
-programming-spin-lock-vs-mutex-performance-analysis
grantxx
·
2012-09-26 22:00
thread
null
compiler
pthreads
loops
linux内核
Pthreads
-Win32的使用和一些问题
Pthreads
-win32使用
Pthreads
-win32是一个Windows下使用的开源POSIX线程库,当前最新版本为2.9.1(2012-5-7)。
fan_hai_ping
·
2012-09-19 20:00
多线程
Solaris
dll
编译器
pthreads
程序开发
Pthreads
-Win32的使用和一些问题
Pthreads
-win32使用
Pthreads
-win32是一个Windows下使用的开源POSIX线程库,当前最新版本为2.9.1(2012-5-7)。
xitong
·
2012-09-19 20:00
pthreads
pthread_cond_signal 和 pthread_mutex_unlock顺序问题
from:http://stackoverflow.com/questions/1640389/
pthreads
-pthread-cond-signal-from-within-critical-sectionQuestion1
v_vimer
·
2012-09-19 15:36
linux学习
Pthread - POSIX线程编程
参考这个标准的实现就被称作POSIX threads 或者
Pthreads
. 什么是线程
bofang
·
2012-09-17 17:00
pthread
编译各种库
编译ffmepg的时候,安装了如下的库:x264,
pthreads
-w32,a52dec,libtheora,libogg,libvorbis,xvidcore编译xvide的时候,是进入到xvidcore
KidLeaf2
·
2012-09-07 17:00
pthread 简要使用指南(一) pthread_create
Pthreads
定义了一套C程序语言类型、函数与常量,它以pthread.h头文件和一个线程库实现。 直接上代码,简单明了。
hslinux
·
2012-08-29 17:00
编译ffmpeg选项
/configure--enable-libx264--enable-libmp3lame--enable-libxvid--enable-
pthreads
在编译各个解码器的时候,一定要注意--enable-shared
adoctor
·
2012-08-08 19:00
apache
ios
centos
服务器
gcc
pthread库中操作线程专有数据的函数:pthread_key_create,pthread_setspecific,pthread_gtespecific,pthread_key_delete
pthread库windows版下载地址:http://sourceware.org/
pthreads
-win32/pthread库中操作线程专有数据帮助文档地址:http://sourceware.org
zhangyulin54321
·
2012-08-02 17:00
thread
多线程
null
delete
存储
destructor
Ubuntu12.04下编译gtest
4、如果编译不通过,提示”undefinedreferenceto'
pthreads
etspecific'”,修改make文件(Makefile)将-lpthread放到最后。如下:g++-I..
ntao0227
·
2012-08-01 21:53
ubuntu
undefined
include
reference
gtest
对Pthread线程进行简单的类封装
1.封装遇到的问题将
Pthreads
线程封装为抽象类,这样用户在使用线程时,只需要继承一下这个抽象类,并实现相应的接口就可以了。
hipercomer
·
2012-07-25 10:02
线程
pthreads
类封装
UNIX编程
对Pthread线程进行简单的类封装
1.封装遇到的问题 将
Pthreads
线程封装为抽象类,这样用户在使用线程时,只需要继承一下这个抽象类,并实现相应的接口就可以了。
hipercomer
·
2012-07-25 10:02
线程
pthreads
类封装
squid3.0快速缓存实现
/configure--prefix=/usr/local/squid\--enable-arp-acl\--enable-linux-netfilter\--enable-
pthreads
\--enable-err-language
fantefei
·
2012-06-27 17:45
搭建
squid
Pthreads
线程的基本常识
1.
Pthreads
中线程的接口函数与线程相关的头文件为pthread.h,编译时要连接的库为pthread。pthread_tthread;线程的数据类型为pthread_t。
hipercomer
·
2012-06-26 19:52
pthread_create
pthread_join
pthread_exit
Pthreads
线程的基本常识
1.
Pthreads
中线程的接口函数与线程相关的头文件为pthread.h,编译时要连接的库为pthread。pthread_tthread;线程的数据类型为pthread_t。
hipercomer
·
2012-06-26 19:52
pthread_create
pthre
UNIX编程
检查
Pthreads
函数的返回值
一定要检查函数的返回值 《C/C++软件测试规范》上有很重要的一条就是要检查所有返回值不为空的函数的返回值来判断库函数或者系统调用的执行是否成功。如果读一些经典开源代码,你会发现几乎每一个函数的调用都会被放置在一个if语句中来检查被调用函数的执行情况。经常会看到超市收银台的电脑上或者学校的自助充值终端甚至是火车站购票的大屏幕上会弹出Windows的对话框显示“0xXXXXXXXXX位置
hipercomer
·
2012-06-24 21:13
宏
pthreads
函数返回值
errno
检查
Pthreads
函数的返回值
一定要检查函数的返回值《C/C++软件测试规范》上有很重要的一条就是要检查所有返回值不为空的函数的返回值来判断库函数或者系统调用的执行是否成功。如果读一些经典开源代码,你会发现几乎每一个函数的调用都会被放置在一个if语句中来检查被调用函数的执行情况。经常会看到超市收银台的电脑上或者学校的自助充值终端甚至是火车站购票的大屏幕上会弹出Windows的对话框显示“0xXXXXXXXXX位置内存不能为读”
hipercomer
·
2012-06-24 21:13
宏
函数返回值
Pthreads
err
UNIX编程
取消线程及清理工作
pthreads
myjoying
·
2012-06-18 11:00
windows下使用pthread
做个笔记先 首先下载pthreadforwindows的库文件:http://www.cnblogs.com/peterxiang/admin/ftp://sources.redhat.com/pub/
pthreads
-win32
kjianjun
·
2012-06-15 16:00
windows
dll
include
dependencies
Signal
linker
保证ffmpeg 0.11的编译有pthread的支持
/configure--enable-
pthreads
--disable-w32threads--disable-os2threads--extra-cflags=-I/usr/local/include
ljh081231
·
2012-06-14 16:00
FreeBSD Squid -3.1 安装配置
/configure--prefix=/opt/local/squid--enable-arp-acl--enable-linux-netfilter--enable-
pthreads
--enable-err-language
jicki
·
2012-06-12 13:38
FreeBSD
squid
C++编译时的问题
问题1: g++ threads/platform/
pthreads
/Implementation.cpp -o threads/platform/pads/Implementation /usr/lib
yangwei0915
·
2012-06-04 15:00
C++
ffmpeg 静态库太大,只要h264,mpeg4
disable-debug--enable-static--enable-memalign-hack--enable-swscale--disable-avformat--disable-avfilter--enable-
pthreads
ljh081231
·
2012-06-01 15:00
video
高性能并行计算技术交流平台
神马CUDA,OMP,MPI,Win32threads,
PThreads
愿意分享,讨论问题的童鞋们欢迎加入啊!!
bendanban
·
2012-05-27 15:00
qq
CUDA
平台
pthreads
pthread_spin_lock 自旋锁
Pthreads
提供了多种锁机制,常见的有:1)Mutex(互斥量):pthread_mutex_***2)Spinlock(自旋锁):pthread_spin_***3)ConditionVariable
I_am_JoJo
·
2012-05-22 19:00
Linux下线程总结
作用 线程库实行了POSIX线程标准通常称为
pthreads
.
pthreads
是最常用的POSIX系统如Linux和Unix,而微软Windowsimplementations同时存在.举例来说,
pthreads
-w32
yaoyongsz
·
2012-05-10 02:17
线程
Java Lock 实例 -- 实现简单的tee
Develop a parallel multithreaded program (in C using
Pthreads
, or in Java) that implements the Unix tee
fanrey
·
2012-05-08 21:00
java
Windows下编译X264多线程版本
Pthreads
定义了一套C程序语言类型、函数
wutong_login
·
2012-05-08 14:00
跨平台多线程编程
这个API就是广为人知的
pthreads
。它的目的在于为跨平台编写多线程程序提供便利。
szu030606
·
2012-05-05 10:00
Multithreading in Cocoa
Objective-C.Objective-CisanobjectorientedlanguagebuildontopofC,providingalltheprosandpitfallsof ANSI C.Sinceitrunsontopofa BSD kernel,
pthreads
bigfish101
·
2012-04-29 11:00
undefided reference to 'sem_init' 等信号量问题
解决办法:在编译时加上-pthread,eg:gcc-
pthreads
em.c-osem #include#include#includestaticintshared=0;staticsem_tsharedsem
ahstusujian
·
2012-04-20 17:00
gcc
reference
用于并行计算的多线程数据结构,第 1 部分: 设计并发数据结构
对于本文,我们使用POSIXThreads库(也称为
Pthreads
;见参考资料中的链接),但是也可以使用BoostThreads等
sctq8888
·
2012-04-16 13:00
多线程
数据结构
unix
IBM
AIX
pthreads
Multithreading in Cocoa
Objective-C.Objective-CisanobjectorientedlanguagebuildontopofC,providingalltheprosandpitfallsof ANSI C.Sinceitrunsontopofa BSD kernel,
pthreads
MAZHEN1986
·
2012-04-09 13:00
线程同步-自旋锁与Mutex/信号量的区别和联系
POSIXthreads(简称
Pthreads
)是在多核平台上进行并行编程的一套常用的API。
yuyin86
·
2012-04-05 09:00
thread
null
任务
pthreads
loops
linux内核
Pthread_Mutex_t Vs Pthread_Spinlock_t (转载)
Pthreads
提供了多种锁机制,常见的有:1)Mutex(互斥量):pthread_mutex_***2)Spinlock(自旋锁):pthread_spin_***3)ConditionVariable
yuyin86
·
2012-04-05 09:00
thread
多线程
测试
delete
任务
pthreads
介绍如何使用 POSIX 库在多线程环境中设计并发数据结构
对于本文,我们使用POSIXThreads库(也称为
Pthreads
;见参考资料中的链接),但是也可以使用BoostThreads等
realxie
·
2012-03-27 20:00
多线程
数据结构
unix
IBM
AIX
pthreads
POSIX对pthread的选项和限制
POSIX关于线程的选项通过定义一套特征检测宏,
pthreads
标准允许用户决定在系统中应用哪种可选功能。任何
pthreads
的实现都会通过如下三
yygydjkthh
·
2012-03-27 16:00
多线程
数据库
网络
测试
pthreads
pthread并行编程
zzhttp://pages.cs.wisc.edu/~travitch/
pthreads
_primer.htmlIntroductionPOSIXthreads(
pthreads
)areastandardizedinterfaceonoperatingsystemthreads.Compilinga
pthreads
ProgramRelevantheadersaside
orzorz
·
2012-03-25 00:00
thread
编程
Semaphore
null
Matrix
pthreads
Pthread_Mutex_t Vs Pthread_Spinlock_t (转载)
Pthreads
提供了多种锁机制,常见的有:1)Mutex(互斥量):pthread_mutex_***2)Spinlock(自旋锁):pthread_spin_***3)ConditionVariab
sz_liao
·
2012-02-23 11:00
什么是线程局部变量(Thread Local Variable)
虽然支持线程局部变量早就是许多线程工具(例如Posix
pthreads
工具)的一部分,但JavaThreadsAPI的最初设计却没有这项有用的功能。而且,最初的实现也相当低效。
king_tt
·
2012-02-17 15:00
variable
什么是线程局部变量(Thread Local Variable)
虽然支持线程局部变量早就是许多线程工具(例如Posix
pthreads
工具)的一部分,但JavaThreadsAPI的最初设计却没有这项有用的功能。而且,最初的实现也相当低效。
king_tt
·
2012-02-17 15:00
variable
什么是线程局部变量(Thread Local Variable)
虽然支持线程局部变量早就是许多线程工具(例如Posix
pthreads
工具)的一部分,但JavaThreadsAPI的最初设计却没有这项有用的功能。而且,最初的实现也相当低效。
gemmem
·
2012-02-17 15:00
java
thread
多线程
object
HashMap
存储
编译只包含h264 decoder的ffmpeg
--enable-static--enable-memalign-hack--disable-swscale--disable-avformat--disable-avfilter--disable-
pthreads
ljh081231
·
2012-02-03 17:00
nginx pthread mutex and condtion signal
define_NGX_THREAD_H_INCLUDED_#include#include#if(NGX_THREADS)#defineNGX_MAX_THREADS 128#if(NGX_USE_RFORK)#include#else/*use
pthreads
hintonic
·
2012-01-19 17:00
thread
nginx
null
FreeBSD
pthreads
Signal
How does JVM map a Java thread to a native thread
原文链接:http://narmnevis.com/tag/
pthreads
/I’vebeenrecentlystudyingaboutprogramminglanguagedesignonmulticoreplatforms.Todesignsuchalanguage
amaowolf
·
2012-01-09 17:00
java
jvm
thread
linux
application
pthreads
Mutex VS spin lock
Pthreads
提供了多种锁机制,常见的有:1)Mutex(互斥量):pthread_mutex_***2)Spinlock(自旋锁):pthread_spin_***3)ConditionVariable
lhf_tiger
·
2011-12-21 09:00
如何静态链接
pthreads
-win32
转自:http://blog.csdn.net/win32asn/article/details/2346430
pthreads
-win32是windows下的pthread库,它默认采用的是动态链接库的链接方式
shines
·
2011-12-20 04:00
windows
function
null
Build
windows下使用pthread库
1下载库建议大家下载:ftp://sources.redhat.com/pub/
pthreads
-win32/
pthreads
-w32-2-7-0-release.exe这个自解压文件,压缩包里的
pthreads
lijiang13466672879
·
2011-12-20 00:00
Pthread:POSIX 多线程程序设计
目录表 摘要 译者序
Pthreads
概述 什么是线程? 什么是
Pthreads
? 为什么使用
Pthreads
?
lijiang13466672879
·
2011-12-19 23:00
thread
多线程
null
pthreads
Signal
variables
上一页
10
11
12
13
14
15
16
17
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他