mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 08:54:40 +00:00
05ed889bb2
Implement service database locking via RLockServiceDatabase / RUnlockServiceDatabase etc... and use this functionality. Patch by Hermès Bélusca. I did not rename the database lock functions because the functions names RLockServiceDatabase and RUnlockServiceDatabase are misleading. They do not lock any database but lock the service start function. The existing functions ScmLockDatabaseExclusive, ScmLockDatabaseShared and ScmUnlockDatabase do protect (lock) the service database (service, group and image lists) form concurrent access. That is also the reason for renaming the SC_LOCK_STRUCT to START_LOCK. See issue #7131 for more details. svn path=/trunk/; revision=56844 |
||
---|---|---|
reactos | ||
rosapps | ||
rostests | ||
wallpaper |