搜索资源列表
linuxthreads
- Linux系统下的多线程遵循POSIX线程接口,称为pthread。编写Linux下的多线程程序,需要使用头文件pthread.h,连接时需要使用库libpthread.a。
book
- 一个模拟图书经营系统的程序,在linux的gcc环境下编译的,利用了多线程的pthread.h函数,希望对大家在linux下编写程序有所借鉴!
threadpoo.tar
- 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_p
c语言中多线程文件
- 在C语言中实现多线程的的头文件,只要在C语言中加入pthread.h头文件就可以实现多线程功能。
waitForMultipleObjects
- 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 inter
PThread
- 线程类,适合C++编程,能够直接引起进行线程的创建等使用,非常清楚,很好用。-Thread class, suitable for C++ programming, can directly lead to thread creation, use, very clear, very good use.
qq2008_console_client
- qq2008贺岁版协议控制台客户端,同时支持linux和win32版。本人修正其一处错误,确保在mingw平台下编译通过。linux下我没试~~编译需设置pthread库(包中已有)最简单的办法是把.a库直接扔到mingw的lib目录下.h文件到include目录 可以实现登录 退出 聊天 群聊 等功能 -Hesuiban agreement qq2008 console client, while supporting linux and win32 versions. The fir
Thread_Semaphore
- pthread.h semaphore.h pthread_mutex_t,PTHREAD_MUTEX_INITIALIZER, sem_t semaphore
pthread
- pthread.h for threads... not sure what it really does.
wait
- /* wait.h - wait facility library header */ /* * Copyright (c) 2003-2006 Wind River Systems, Inc. * * The right to copy, distribute or otherwise make use of this software * may be licensed only pursuant to the terms of an applicable
basic_thread_module
- 主要基于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
pthread_mutex.h
- pthread mutex initializer for two processes
mini-tuto-sur-les-threads
- Hello, I post a zip containing three sources of programming Pthread (Posix thread). A presentation and explanation of the functions that will be USED is present in each source. The zip addresses only the strict necessary to pro
warehose
- 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<
shiyan2
- 哲学家进餐问题 #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 #
__wmmintrin_pclmul
- Some implementations of <pthread.h> require this to be defined.
remove_const
- Some implementations of <pthread.h> require this to be defined.
Gr1DKernelEffect
- POSIX threads specific definitions. Easy, since the interface is just one-to-one mapping.Some implementations of <pthread.h> require this to be defined.
test-mem
- on HP-UX 11, this one contradicts with pthread.h on pthread_atfork, unless we unset this.