> Do you think of something like the following? > static int > foo_detach(device_t dev) > { > ... > > LOCK(softc); The other big race here is between detach and the next attach. This is better solved with a lock at the interface layer rather than on the softc. JeffreyReceived on Fri Apr 11 2003 - 18:42:45 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:03 UTC