CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - pthread.h
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - pthread.h - List
[
Communication
]
linuxthreads
DL : 1
Linux系统下的多线程遵循POSIX线程接口,称为pthread。编写Linux下的多线程程序,需要使用头文件pthread.h,连接时需要使用库libpthread.a。
Date
: 2008-10-13
Size
: 16.26kb
User
:
dj
[
Linux-Unix
]
book
DL : 1
一个模拟图书经营系统的程序,在linux的gcc环境下编译的,利用了多线程的pthread.h函数,希望对大家在linux下编写程序有所借鉴!
Date
: 2008-10-13
Size
: 31.28kb
User
:
尹凯旋
[
Internet-Network
]
threadpoo.tar
DL : 0
threadpoo #include \"thread-pool.h\" static void *tp_work_thread(void *pthread) static void *tp_manage_thread(void *pthread) static TPBOOL tp_init(tp_thread_pool *this) static void tp_close(tp_thread_pool *this) static void tp_process_job(tp_thread_pool *this, tp_work *worker, tp_work_desc *job) static int tp_get_thread_by_id(tp_thread_pool *this, int id) static TPBOOL tp_add_thread(tp_thread_pool *this) static TPBOOL tp_delete_thread(tp_thread_pool *this) static int tp_get_tp_status(tp_thread_pool *this)
Date
: 2008-10-13
Size
: 10.14kb
User
:
wxh
[
Windows Develop
]
c语言中多线程文件
DL : 12
在C语言中实现多线程的的头文件,只要在C语言中加入pthread.h头文件就可以实现多线程功能。
Date
: 2009-02-14
Size
: 13.59kb
User
:
bookwormxcd
[
Program doc
]
linuxthreads
DL : 0
Linux系统下的多线程遵循POSIX线程接口,称为pthread。编写Linux下的多线程程序,需要使用头文件pthread.h,连接时需要使用库libpthread.a。-Linux systems adhere to POSIX thread-multi-threaded interface, known as the pthread. Prepared under the Linux multi-threaded process, need to use the header file pthread.h, connections need to use the library libpthread.a.
Date
: 2025-07-11
Size
: 16kb
User
:
dj
[
Linux-Unix
]
book
DL : 0
一个模拟图书经营系统的程序,在linux的gcc环境下编译的,利用了多线程的pthread.h函数,希望对大家在linux下编写程序有所借鉴!-Book a simulated operating system procedures, in the linux environment the gcc compiler, the use of multi-threaded pthread.h function, in the hope that everyone in the preparation of procedures under linux reference!
Date
: 2025-07-11
Size
: 31kb
User
:
尹凯旋
[
ISAPI-IE
]
threadpoo.tar
DL : 0
threadpoo #include "thread-pool.h" static void *tp_work_thread(void *pthread) static void *tp_manage_thread(void *pthread) static TPBOOL tp_init(tp_thread_pool *this) static void tp_close(tp_thread_pool *this) static void tp_process_job(tp_thread_pool *this, tp_work *worker, tp_work_desc *job) static int tp_get_thread_by_id(tp_thread_pool *this, int id) static TPBOOL tp_add_thread(tp_thread_pool *this) static TPBOOL tp_delete_thread(tp_thread_pool *this) static int tp_get_tp_status(tp_thread_pool *this) -threadpoo #include "thread-pool.h" static void*tp_work_thread(void*pthread) static void*tp_manage_thread(void*pthread) static TPBOOL tp_init(tp_thread_pool*this) static void tp_close(tp_thread_pool*this) static void tp_process_job(tp_thread_pool*this, tp_work*worker, tp_work_desc*job) static int tp_get_thread_by_id(tp_thread_pool*this, int id) static TPBOOL tp_add_thread(tp_thread_pool*this) static TPBOOL tp_delete_thread(tp_thread_pool*this) static int tp_get_tp_status(tp_thread_pool*this)
Date
: 2025-07-11
Size
: 10kb
User
:
wxh
[
ICQ-IM-Chat
]
qq2008_console_client
DL : 0
qq2008贺岁版协议控制台客户端,同时支持linux和win32版。本人修正其一处错误,确保在mingw平台下编译通过。linux下我没试~~编译需设置pthread库(包中已有)最简单的办法是把.a库直接扔到mingw的lib目录下.h文件到include目录 可以实现登录 退出 聊天 群聊 等功能 -Hesuiban agreement qq2008 console client, while supporting linux and win32 versions. The first error I amended to ensure that the adoption of MinGW platform compiler. under linux I did not try ~ ~ compiled to be set pthread library (package already) the most simple way is to. a library directly into MinGW s lib directory. h files to include directory can log out of chat features such as group chat
Date
: 2025-07-11
Size
: 224kb
User
:
宋涛
[
Process-Thread
]
PThread
DL : 0
线程类,适合C++编程,能够直接引起进行线程的创建等使用,非常清楚,很好用。-Thread class, suitable for C++ programming, can directly lead to thread creation, use, very clear, very good use.
Date
: 2025-07-11
Size
: 3kb
User
:
zifangz
[
Linux-Unix
]
Thread_Semaphore
DL : 0
pthread.h semaphore.h pthread_mutex_t,PTHREAD_MUTEX_INITIALIZER, sem_t semaphore
Date
: 2025-07-11
Size
: 1kb
User
:
mwmacleod
[
Other Games
]
pthread
DL : 0
pthread.h for threads... not sure what it really does.
Date
: 2025-07-11
Size
: 2kb
User
:
monkey
[
Internet-Network
]
waitForMultipleObjects
DL : 0
WaitForMultipleObjects using pthread linux The basic idea is to use the subscriber pattern: In WaitForMultipleObjects() subscribe at all event sources the event sources then have to signal a central pthread_cond_t. The public interface is declared in winEmul.h. A few features are not implemented properly or completely, for instance PulseEvent(). If these features would be needed, it should not be too difficult to implement them.- WaitForMultipleObjects using pthread linux The basic idea is to use the subscriber pattern: In WaitForMultipleObjects() subscribe at all event sources the event sources then have to signal a central pthread_cond_t. The public interface is declared in winEmul.h. A few features are not implemented properly or completely, for instance PulseEvent(). If these features would be needed, it should not be too difficult to implement them.
Date
: 2025-07-11
Size
: 7kb
User
:
sucker
[
OS Develop
]
pthread_mutex.h
DL : 0
pthread mutex initializer for two processes
Date
: 2025-07-11
Size
: 1kb
User
:
pudn17
[
Internet-Network
]
basic_thread_module
DL : 0
主要基于Linux介绍C多线程。在编译C的多线程时候,一方面必须指定Linux C语言线程库多线程库pthread,才可以正确编译(例如:gcc test.c -o test -lpthread);另一方面要包含有关线程头文件#include <pthread.h>。-Introduced Linux-based C multi-threaded. Compile the multithreaded C, when, on the one hand, you must specify the Linux C language threads library multi-threaded library the pthread can compile correctly (for example: gcc test.c-o test-lpthread) the other hand, contains information about the thread header files# include <pthread.h> .
Date
: 2025-07-11
Size
: 1kb
User
:
田盼
[
Linux driver
]
warehose
DL : 0
linux下的仓库物联网系统 linux下的仓库物联网系统 linux下的仓库物联网系统 -#include<stdio.h> #include<sys/types.h> #include<sys/ipc.h> #include<sys/msg.h> #include<stdlib.h> #include<unistd.h> #include<string.h> #include<pthread.h> #include <sys/ioctl.h> #include <fcntl.h> #include<stdio.h> #include<stdlib.h> #include<sys/types.h> #include<unistd.h> #include<sys/ipc.h> #include<sys/shm.h> #include<signal.h> #include<inttypes.h> #include<sys/sem.h>
Date
: 2025-07-11
Size
: 4kb
User
:
sunguangjiang
[
CSharp
]
shiyan2
DL : 0
哲学家进餐问题 #include<stdio.h> #include<semaphore.h> #include<pthread.h> //宏定义信号量个数为5,宏定义0表示思考,宏定义1表示饿,宏定义2表示吃,宏定义(ph_num+4) N表示左,宏定义(ph_num+1) N表示右 #define N 5 #define THINKING 0 #define HUNGRY 1 #define EATING 2 #define LEFT (ph_num+4) N #define RIGHT (ph_num+1) N //声明互斥锁 ,声明数组 sem_t mutex sem_t S[N] //声明操作函数,取叉函数,放叉函数,测试函数 void * philospher(void *num) void takeFork(int) void putFork(int) void test(int) int state[N] -the question about lunch
Date
: 2025-07-11
Size
: 1kb
User
:
cc
[
Linux-Unix
]
__wmmintrin_pclmul
DL : 0
Some implementations of <pthread.h> require this to be defined.
Date
: 2025-07-11
Size
: 6kb
User
:
cenqantv
[
Linux-Unix
]
remove_const
DL : 0
Some implementations of <pthread.h> require this to be defined.
Date
: 2025-07-11
Size
: 6kb
User
:
cenqantv
[
Linux-Unix
]
Gr1DKernelEffect
DL : 0
POSIX threads specific definitions. Easy, since the interface is just one-to-one mapping.Some implementations of <pthread.h> require this to be defined.
Date
: 2025-07-11
Size
: 6kb
User
:
vunhwei
[
Linux-Unix
]
test-mem
DL : 0
on HP-UX 11, this one contradicts with pthread.h on pthread_atfork, unless we unset this.
Date
: 2025-07-11
Size
: 4kb
User
:
xavouyf
«
1
2
»
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.