Welcome![Sign In][Sign Up]
Location:
Search - pthread.h

Search list

[Communicationlinuxthreads

Description: Linux系统下的多线程遵循POSIX线程接口,称为pthread。编写Linux下的多线程程序,需要使用头文件pthread.h,连接时需要使用库libpthread.a。
Platform: | Size: 16655 | Author: dj | Hits:

[Linux-Unixbook

Description: 一个模拟图书经营系统的程序,在linux的gcc环境下编译的,利用了多线程的pthread.h函数,希望对大家在linux下编写程序有所借鉴!
Platform: | Size: 32031 | Author: 尹凯旋 | Hits:

[Internet-Networkthreadpoo.tar

Description: 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)
Platform: | Size: 10379 | Author: wxh | Hits:

[Windows Developc语言中多线程文件

Description:

在C语言中实现多线程的的头文件,只要在C语言中加入pthread.h头文件就可以实现多线程功能。


Platform: | Size: 13921 | Author: bookwormxcd | Hits:

[Program doclinuxthreads

Description: 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.
Platform: | Size: 16384 | Author: dj | Hits:

[Linux-Unixbook

Description: 一个模拟图书经营系统的程序,在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!
Platform: | Size: 31744 | Author: 尹凯旋 | Hits:

[ISAPI-IEthreadpoo.tar

Description: 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)
Platform: | Size: 10240 | Author: wxh | Hits:

[ICQ-IM-Chatqq2008_console_client

Description: 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
Platform: | Size: 229376 | Author: 宋涛 | Hits:

[Process-ThreadPThread

Description: 线程类,适合C++编程,能够直接引起进行线程的创建等使用,非常清楚,很好用。-Thread class, suitable for C++ programming, can directly lead to thread creation, use, very clear, very good use.
Platform: | Size: 3072 | Author: zifangz | Hits:

[Linux-UnixThread_Semaphore

Description: pthread.h semaphore.h pthread_mutex_t,PTHREAD_MUTEX_INITIALIZER, sem_t semaphore
Platform: | Size: 1024 | Author: mwmacleod | Hits:

[Other Gamespthread

Description: pthread.h for threads... not sure what it really does.
Platform: | Size: 2048 | Author: monkey | Hits:

[Internet-NetworkwaitForMultipleObjects

Description: 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.
Platform: | Size: 7168 | Author: sucker | Hits:

[OS Developpthread_mutex.h

Description: pthread mutex initializer for two processes
Platform: | Size: 1024 | Author: pudn17 | Hits:

[Internet-Networkbasic_thread_module

Description: 主要基于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> .
Platform: | Size: 1024 | Author: 田盼 | Hits:

[Linux driverwarehose

Description: 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>
Platform: | Size: 4096 | Author: sunguangjiang | Hits:

[CSharpshiyan2

Description: 哲学家进餐问题 #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
Platform: | Size: 1024 | Author: cc | Hits:

[Linux-Unix__wmmintrin_pclmul

Description: Some implementations of <pthread.h> require this to be defined.
Platform: | Size: 6144 | Author: cenqantv | Hits:

[Linux-Unixremove_const

Description: Some implementations of <pthread.h> require this to be defined.
Platform: | Size: 6144 | Author: cenqantv | Hits:

[Linux-UnixGr1DKernelEffect

Description: POSIX threads specific definitions. Easy, since the interface is just one-to-one mapping.Some implementations of <pthread.h> require this to be defined.
Platform: | Size: 6144 | Author: vunhwei | Hits:

[Linux-Unixtest-mem

Description: on HP-UX 11, this one contradicts with pthread.h on pthread_atfork, unless we unset this.
Platform: | Size: 4096 | Author: xavouyf | Hits:
« 12 »

CodeBus www.codebus.net