代码搜索:线程安全
找到约 9,255 项符合「线程安全」的源代码
代码结果 9,255
www.eeworm.com/read/356363/10230090
pdf 多线程与串行通信.pdf
www.eeworm.com/read/422655/10622635
ppt lesson6多线程.ppt
www.eeworm.com/read/272649/10951027
txt 多线程函数1.txt
//以下代码均来自《Linux C 编程》一书,m=%w'G6络0专Y-
zy\@g育垠^P业ZFq
本人对其中代码做了一些改进,使之更有利于系统学习GNU C标准库中Pthread。
//特别注意:makefile中的编译选项中一定要包含-lpthread(即连接pthread库)
makefile:
demo:demo1.o
gcc -o demo demo1.
www.eeworm.com/read/272649/10951030
txt 多线程函数2.txt
线程编程的基本的函数
1线程创建
函数原型:
#include
int pthread_create(pthread_t *restrict tidp,const pthread_attr_t *restrict attr, void *(*start_rtn)(void),void *restrict arg
www.eeworm.com/read/272590/10952917
pdf 第五章 线程.pdf
www.eeworm.com/read/418205/10958976
txt 15.3 简单多线程示例.txt
15.3?简单多线程示例
下面编写一个多线程程序。新建一个空的 Win32 Console Application类型的工程,工程取名为:
MultiThreado并为该工程添加一个 C++源文件: MultiThread.cppo然后在其中添加如例 15-1所示
代码。
例 15-1
#include
#include
www.eeworm.com/read/418205/10959236
txt 16.3 线程死锁16.txt
16.3 线程死锁
有一个哲学家进餐的问题能够很好地描述线程死锁。哲学家进餐的问题是这样的:有t 多位哲学家一
起用餐,但每人只有一支筷子,当然用一支筷子是无法吃食物的。这时,如果有一位哲学家能将他
的那只筷子交出来,让其他哲学家先吃,之后,再将一双筷子交回来,这样,所有哲学家就都能够
吃到食物了。但是哲学家们考虑问题时想得比较深,他们担心把筷子交给别人先吃,那么别人吃完
食物之后,不把 ...
www.eeworm.com/read/272357/10960907
emf 多线程数组数之和.emf
www.eeworm.com/read/470769/6908177
ppt 第9章 多线程.ppt
www.eeworm.com/read/467775/7001125