CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - linux c pthread
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - linux c pthread - List
[
Linux-Unix
]
pthread.c
DL : 0
LINUX多线程应用程序设计,希望对大家有用。-LINUX multithreaded application design, we hope that the right useful.
Date
: 2008-10-13
Size
: 2.02kb
User
:
王大军
[
Linux-Unix
]
linuxpthread
DL : 0
linux环境下多线程编程的例子-multithreaded programming examples
Date
: 2025-07-12
Size
: 3kb
User
:
徐晓东
[
Linux-Unix
]
Programming with Pthreads.tar
DL : 0
linux 多线程例子-multithreading example
Date
: 2025-07-12
Size
: 83kb
User
:
朱旭初
[
Other
]
linuxthreads
DL : 0
关于linux下Pthread的使用教程,共有3个pdf文件,适合初学者学习多线程编程。 -Pthread under linux on the use of guides, there are three pdf documents, for beginners learning multithreaded programming.
Date
: 2025-07-12
Size
: 111kb
User
:
zhuwenjie
[
Linux-Unix
]
pthread.c
DL : 0
LINUX多线程应用程序设计,希望对大家有用。-LINUX multithreaded application design, we hope that the right useful.
Date
: 2025-07-12
Size
: 2kb
User
:
王大军
[
Internet-Network
]
pthreadsdll
DL : 0
附件是linux下面非常经典的线程库,如果你要做多线程编程,读写文件或其他共享资源,这个包很有用-Annex linux Below is a very classic Thread Library, if you do multithreaded programming, read and write documents or other shared resources, this useful package
Date
: 2025-07-12
Size
: 244kb
User
:
Edgard
[
Embeded Linux
]
02_pthread
DL : 0
多线程的生产者消费者两线程实现源码,linux嵌入式开发-Multi-threaded producer consumer thread to achieve the two-source, linux embedded development
Date
: 2025-07-12
Size
: 5kb
User
:
赵佳伟
[
Linux-Unix
]
pthread_create
DL : 0
用c語言,在linux上create 1000個thread去ping某一台主機。-Using c language, in the linux on the thread to create 1000 months ping a host.
Date
: 2025-07-12
Size
: 1kb
User
:
何德威
[
Linux-Unix
]
pthread.c
DL : 0
pthread的例子,可以很好的帮助我们理解Linux多线程的主要函数用法-pthread example, could well help us understand the main function of multi-threaded Linux usage
Date
: 2025-07-12
Size
: 1kb
User
:
yuguess
[
Linux-Unix
]
pthread_cp_net.c.tar
DL : 0
多线程实现拷贝,用linux 下的C 实现-linux c to pthread copy function
Date
: 2025-07-12
Size
: 2kb
User
:
袁景宏
[
Linux-Unix
]
threecodes
DL : 9
1、 用C语言写一个程序名字为procs4,该程序运行过程中共有4个进程,procs4程序(父进程)创建2个子进程p1和p2,p1子进程再创建一个子进程p3。4个进程完成如下工作: 父进程并打印字符串“I am main process”;p1子进程打印“I am child process p1”字符串;p2子进程打印“I am child process p2”;子进程p3打印字符串“I am child process p3”,然后使用exec(族)系统调用打印当前目录下文件和子目录下的详细信息。并且每个进程的要打印自己的pid。 2、 使用任何一种通信机制实现p1进程和p2进程之间的通信,可以使用的通信机制如:管道、消息队列、共享内存等。P1进程发送“Child process p1 is sending a message!”信息给p2进程,P2进程发送“Child process p2 is sending a message!” 信息给p1进程,p1和p2两个子进程接受信息后分别打印着两个字符串。 3、 编写程序实现生产者-消费者问题。使用linux的Pthread线程库,创建生产者和消费者两个线程,生产者线程计算当前的时间并放入缓冲区,每次计算一个时间数据;消费者线程从缓冲区读出并打印生产者计算的时间,每次打印一个时间数据。缓冲区大小为5个,生产和消费的消息数为10个,即生产和消费分别为10次。-1, using C language to write a program named procs4, the program is running a total of four processes, procs4 process (parent process) to create two sub-processes p1 and p2, p1 sub-process re-creates a child process p3. 4 key process to complete the following work: The parent process and print the string "I am main process" p1 child process print "I am child process p1" string p2 child process print "I am child process p2" child process p3 print the string "I am child process p3 ", and then use the exec (tribe) system call to print the current directory files and subdirectories under the details. And each process, you want to print their own pid. 2, using any kind of communication mechanism to achieve the p1 and p2 the process of communication between processes, you can use the communication mechanisms such as: pipes, message queues, shared memory, and so on. Process P1 sends "Child process p1 is sending a message!" Message to the p2 process, P2 process sends "Child process p2 i
Date
: 2025-07-12
Size
: 2kb
User
:
杨子坤
[
Linux-Unix
]
pthread
DL : 0
多线程 编写源代码 经典实例 Linux C下实现-Classic example of the preparation of multi-threaded Linux C
Date
: 2025-07-12
Size
: 1kb
User
:
zpf
[
Linux-Unix
]
gw_main.cpp.tar
DL : 0
linux守护程序,pthread c-linux c++ thread
Date
: 2025-07-12
Size
: 2kb
User
:
cash
[
Linux-Unix
]
pthread
DL : 0
All you need to know to start using Linux, a free Unix clone. This manual covers the basic Unix commands, as well as the more specic Linux ones. This manual is intended for the beginning Unix user, although it may be useful for more experienced users for reference purposes.
Date
: 2025-07-12
Size
: 71kb
User
:
ls
[
Linux-Unix
]
pia.c.tar
DL : 0
这是linux下采用 POSIX 的 pthread 机制计算圆周率的程序-This is the linux multi pthread POSIX mechanisms used under the pi calculation program
Date
: 2025-07-12
Size
: 1kb
User
:
xudawei
[
Internet-Network
]
Hilos
DL : 0
Simple program to call 2 threads in C for linux to compile : gcc hilo.c -l pthread -o thread -Wa-Simple program to call 2 threads in C for linux to compile : gcc hilo.c -l pthread -o thread -Wall
Date
: 2025-07-12
Size
: 1kb
User
:
loginkier
[
Linux-Unix
]
pi
DL : 0
多线程计算pi,在linux下用gcc编译 执行下面命令: gcc -pthread pi.c -o pi-Multi-threaded computing pi, using the gcc compiler under linux execute the following command: gcc-pthread pi.c-o pi
Date
: 2025-07-12
Size
: 1kb
User
:
laurence
[
Linux-Unix
]
3.c
DL : 0
编写程序实现生产者-消费者问题。使用Linux的pthread线程库,创建2个生产者线程和2 个消费者线程。生产者线程计算当前的时间,把时间、第几次计算时间的序号(循环次 数)和线程ID作为一个消息,把消息放入缓冲区,消费者线程从缓冲区读出一个消息 并显示消息。缓冲区大小为5个,每个生产者线程生产10个消息,每个消费者线程消费 10个消息,即生产和消费分别为20次。 要求:2个生产者线程执行的代码是相同的(即执行同一函数),2个消费者线程也 一样。 提示: 生产者及消费者之间需要实现同步和互斥, pthread线程库互斥锁机制和POSIX 的信号量机制可以完成这一任务。 -linux multi_pthread
Date
: 2025-07-12
Size
: 1kb
User
:
zheng
[
Other
]
pthread
DL : 0
linux 线程的基础用法(Ubuntu Linux c编程)-linux pthread
Date
: 2025-07-12
Size
: 1kb
User
:
jq
[
Process-Thread
]
pthread
DL : 0
提供c/c++多线程开发的API,兼容windows linux平台(provide the developer the application program interface of Multithreading)
Date
: 2025-07-12
Size
: 9kb
User
:
1234.l
«
1
2
»
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.