kernel: Change Thread::team_lock to rw_spinlock

This commit is contained in:
Pawel Dziepak
2013-11-07 04:20:59 +01:00
parent defee266db
commit 3519eb334a
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -483,7 +483,7 @@ struct Thread : TeamThreadIteratorEntry<thread_id>, KernelReferenceable,
BKernel::Team *team; // protected by team lock, thread lock, scheduler
// lock, team_lock
spinlock team_lock;
rw_spinlock team_lock;
struct {
sem_id sem; // immutable after thread creation