NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/37437: signal problems in linux threads



The following reply was made to PR kern/37437; it has been noted by GNATS.

From: Andrew Doran <ad%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/37437: signal problems in linux threads
Date: Fri, 8 Feb 2008 12:28:40 +0000

 I thought of a better way to handle the signal locking for cloned processes.
 In the near future we are hoping to merge the two locks around process local
 state (p_smutex, p_mutex) into a single lock. When that is done we could
 make p_mutex a pointer to an seperately allocated and reference counted
 lock, which could be shared among cloned processes acting as threads. So if
 you acquire the lock on one process, you have acquired the lock on all of
 its siblings. This would fix the concurrency issue.
 
 Andrew
 



Home | Main Index | Thread Index | Old Index