星期三 五月 17, 2006

mutex panic

Mutex could panic with below reasons:

1. bad mutex: It could happen with below context: mutex_enter, mutex_tryenter, mutex_destroy.

2. adaptive at high PIL

3. recursive mutex enter: If current thread tried to mutex_enter a lock which is held by itself, panic will happen.

4. not owner:It could happen with below context: mutex_destroy, mutex_exit

5. has waiters: It could happen with below context: mutex_destroy

Let's see above panic by examples from today.

评论:

发表一条评论:
  • HTML语法: 禁用