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
: 2026-01-10
Size
: 3kb
User
:
徐晓东
[
Linux-Unix
]
Programming with Pthreads.tar
DL : 0
linux 多线程例子-multithreading example
Date
: 2026-01-10
Size
: 83kb
User
:
朱旭初
[
Linux-Unix
]
pthread.c
DL : 0
LINUX多线程应用程序设计,希望对大家有用。-LINUX multithreaded application design, we hope that the right useful.
Date
: 2026-01-10
Size
: 2kb
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
: 2026-01-10
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
: 2026-01-10
Size
: 1kb
User
:
yuguess
[
Linux-Unix
]
pthread_cp_net.c.tar
DL : 0
多线程实现拷贝,用linux 下的C 实现-linux c to pthread copy function
Date
: 2026-01-10
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
: 2026-01-10
Size
: 2kb
User
:
杨子坤
[
Linux-Unix
]
pthread
DL : 0
多线程 编写源代码 经典实例 Linux C下实现-Classic example of the preparation of multi-threaded Linux C
Date
: 2026-01-10
Size
: 1kb
User
:
zpf
[
Linux-Unix
]
gw_main.cpp.tar
DL : 0
linux守护程序,pthread c-linux c++ thread
Date
: 2026-01-10
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
: 2026-01-10
Size
: 71kb
User
:
ls
[
Linux-Unix
]
SSS.ZIP
DL : 0
Satanic Socks Server v0.66.170506 Powered by drmist\STNC Compilation: Win32: cl /Gz /O1 sss.c && del sss.obj Linux: gcc -lpthread sss.c -o sss FreeBSD: gcc -pthread sss.c -o -Satanic Socks Server v0.66.170506 Powered by drmist\STNC Compilation: Win32: cl /Gz /O1 sss.c && del sss.obj Linux: gcc -lpthread sss.c -o sss FreeBSD: gcc -pthread sss.c -o sss
Date
: 2026-01-10
Size
: 3kb
User
:
Andrey
[
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
: 2026-01-10
Size
: 1kb
User
:
xudawei
[
Linux-Unix
]
gaussian_pthreads
DL : 0
高斯消去法的pthread并行程序,使用C++编写。在Linux下跑通。-pthread program for gaussian elimination. Write by C++ and run in Linux.
Date
: 2026-01-10
Size
: 2kb
User
:
zl
[
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
: 2026-01-10
Size
: 1kb
User
:
laurence
[
Linux-Unix
]
TCP-multi-pthread-program
DL : 0
在linux环境下的用C语言编写的基于TCP/IP协议的网络编程的程序。-In the linux environment using C language based on TCP/IP protocol network programming process.
Date
: 2026-01-10
Size
: 17kb
User
:
邹林
[
Linux-Unix
]
3.c
DL : 0
编写程序实现生产者-消费者问题。使用Linux的pthread线程库,创建2个生产者线程和2 个消费者线程。生产者线程计算当前的时间,把时间、第几次计算时间的序号(循环次 数)和线程ID作为一个消息,把消息放入缓冲区,消费者线程从缓冲区读出一个消息 并显示消息。缓冲区大小为5个,每个生产者线程生产10个消息,每个消费者线程消费 10个消息,即生产和消费分别为20次。 要求:2个生产者线程执行的代码是相同的(即执行同一函数),2个消费者线程也 一样。 提示: 生产者及消费者之间需要实现同步和互斥, pthread线程库互斥锁机制和POSIX 的信号量机制可以完成这一任务。 -linux multi_pthread
Date
: 2026-01-10
Size
: 1kb
User
:
zheng
[
Linux-Unix
]
pthread-master
DL : 0
模拟多线程之间信号量交互,适用于linux平台,采用c语言(semaphore interaction between multiple threads)
Date
: 2026-01-10
Size
: 5kb
User
:
ExcaliburZH
[
Linux-Unix
]
archive
DL : 0
When working with Linux kernels, this version of the GNU C Library requires Linux kernel version 2.6.32 or later. Also note that the shared version of the libgcc_s library must be installed for the pthread library to work correctly.
Date
: 2026-01-10
Size
: 18kb
User
:
ipgadget
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.