资源列表
3.c
- 编写程序实现生产者-消费者问题。使用Linux的pthread线程库,创建2个生产者线程和2 个消费者线程。生产者线程计算当前的时间,把时间、第几次计算时间的序号(循环次 数)和线程ID作为一个消息,把消息放入缓冲区,消费者线程从缓冲区读出一个消息 并显示消息。缓冲区大小为5个,每个生产者线程生产10个消息,每个消费者线程消费 10个消息,即生产和消费分别为20次。 要求:2个生产者线程执行的代码是相同的(即执行同一函数),2个消费者线程也 一样。 提示: 生产者
clock-sh4
- Generic SH-4 support for the clock framework
d_vars
- global refresh variables.
rc4
- RC4 stream cipher for Linux Device.
xalloc-die
- Report a memory allocation failure and exit.
BluetoothStressTest
- Bluetooth Stress Test Source Code for Andriod.
rc-dntv-live-dvb-t
- Keytable for dntv_live_dvb_t Remote Controller.
GeomagneticFieldTest
- Geomagnetic Field Test Source Code for Linux.
ExecutionException
- Exception thrown when attempting to retrieve the result of a task that aborted by throwing an exception.
PrintWriterPrinterTest
- Print Writer Printer Test Source Code for Linux.
WeightedLinearLayout
- A special layout when measured in AT_MOST will take up a given percentage of the available space.
pcm_trace
- This part must be outside protection.