首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > GCC极其轻量级线程库

GCC极其轻量级线程库

  • 资源大小:8.91 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 线程 gcc 轻量级 极其

资 源 简 介

Protothreads is a programming model invented by Adam Dunkels that combines the advantages of event-driven (sometimes also called state machine) programming and threaded programming. The main advantage of the event-driven model is efficiency, both speed and memory usage. The main advantage of the threaded model is algorithm clarity. Protothreads gives you both. A protothread is an extremely lightweight thread. As with event-driven programming, there is a single stack; but like threaded programming, a function can (at least conceptually) block. This protothreads implementation: * is not an implementation of POSIX threads or any other standard API * does not require assembly-language code or use setjmp/longjmp * is independent of CPU architecture * schedules threads non-preemptibly and deterministically. * standard version does not take a

文 件 列 表

gdbinit
license.txt
Makefile
protothread.c
protothread.h
protothread_lock.c
protothread_lock.h
protothread_sem.c
protothread_sem.h
protothread_test.c

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.183820s