K 10 svn:author V 5 brian K 8 svn:date V 27 2001-06-20T10:06:28.000000Z K 7 svn:log V 532 Close a race where we were releasing the unit resource at the start of tunclose() rather than the end, and tunopen() grabbed that unit before tunclose() finished (one process is allocating it while another is freeing it!). It may be worth hanging some sort of rw mutex around all specinfo calls where d_close and the detach handler get a write lock and all other functions get a read lock. This would guarantee certain levels of ``atomicity'' (is that a word?) that people may expect (I believe Solaris does something like this). END