Chinaunix首页 | 论坛 | 博客
  • 博客访问: 81667
  • 博文数量: 19
  • 博客积分: 546
  • 博客等级: 中士
  • 技术积分: 232
  • 用 户 组: 普通用户
  • 注册时间: 2010-02-10 00:07
文章分类

全部博文(19)

文章存档

2014年(1)

2013年(3)

2012年(2)

2011年(4)

2010年(9)

我的朋友

分类: C/C++

2012-07-31 19:02:34

A Reentrant function is a function which guarantees that it can work well under multi-threading environment. 

It means when this function is accessed by one thread, another thread can call it without any bad side effect. This means that there should be separate execution stacks and handlings for all instances. 

It is obvious that this function should not contain any static or shared variables which can cause problem for concurrent execution.


阅读(1154) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~