• Rob Shearman's avatar
    services: Add a ref count to the service entry in svcctl_CreateServiceW. · 8f07e693
    Rob Shearman authored
    The ref count will be released by SC_RPC_HANDLE_destroy when the
    returned handle is destroyed.
    
    Change svcctl_OpenServiceW to use InterlockedIncrement to increment
    the ref count since the service is in the database and therefore could
    be shared and SC_RPC_HANDLE_destroy doesn't take the scmdatabase lock
    when decrementing the ref count.
    8f07e693
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
Make.rules.in Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...