Commit Graph

25 Commits

Author SHA1 Message Date
Sebastian Lackner 37097ce95c services: Track services and processes separately.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-21 16:25:58 +09:00
Sebastian Lackner 168af6e750 services: Hold a reference to process in svcctl_ControlService.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-19 21:06:11 +09:00
Sebastian Lackner 6617ff24f2 services: Introduce refcounting for processes.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-16 21:59:42 +09:00
Sebastian Lackner 7fc3f72de7 services: Move process related fields into a separate struct.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-03 15:26:59 +09:00
Sebastian Lackner 00b1184f10 services: Store a separate variable instead of clearing control_mutex.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-03 15:26:57 +09:00
Sebastian Lackner 34fd639801 services: Do not distinguish between shared/exclusive lock.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-02 23:28:58 +09:00
Sebastian Lackner 0819c739ec services: Remove pipe argument from service_send_command function.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-02 23:28:55 +09:00
Nikolay Sivov 1896064332 services: Mark WOW64 services in registry. 2015-02-27 14:20:25 +09:00
Nikolay Sivov 6a4c146962 services: Defer service delete until all handles are closed. 2014-06-12 18:24:17 +02:00
Piotr Caban 522bc15b45 services: Kill service thread after timeout so it can terminate cleanly. 2012-10-22 16:19:53 +02:00
Piotr Caban 01ef66cb1e services: Move service cleanup code to separate function. 2011-12-12 15:50:40 +01:00
Piotr Caban 60a273569c services: Wait for all services to terminate before exiting. 2011-11-30 16:32:17 +01:00
Piotr Caban b8704a4929 services: Added support for SERVICE_CONFIG_PRESHUTDOWN_INFO. 2011-11-30 16:31:47 +01:00
Alexandre Julliard f51668fdf9 services: Add a timeout to all pipe communications with the service process. 2011-05-20 12:34:39 +02:00
Alexandre Julliard c9dc9a1063 services: Load some timeout parameters from the registry. 2011-05-20 12:33:58 +02:00
Alexandre Julliard 0c1c1fc20d services: Add a helper function to send a command to the service. 2011-05-20 12:32:32 +02:00
Peter Dons Tychsen 741dd708c4 services: Fixed problem with services where DependOnServices key is REG_SZ and not REG_MULTI_SZ. 2008-09-17 10:55:50 +02:00
Rob Shearman 5a35bd4971 services: Automatically start boot-start, system-start and auto-start services when services.exe is started, instead of in wineboot.exe. 2008-04-11 12:13:45 +02:00
Rob Shearman 559fafebbf services: Split RPC_MainLoop into initialisation and the actual loop. 2008-04-11 12:12:58 +02:00
Rob Shearman 809d714f24 services: Introduce an scmdatabase object to store the root key of the services database.
Make the functions that deal with the service database more object-oriented.

Add a finer-grained locking architecture.
2008-03-29 11:51:43 +01:00
Rob Shearman 9a6fc01d84 services: Move ControlService and StartServiceW from advapi32.dll to services.exe.
This also changes the architecture such that services.exe is the server 
end of the control pipe and the service is the client end.
2008-03-29 11:51:34 +01:00
Rob Shearman 7afd9a977a services: Move LockServiceDatabase and UnlockServiceDatabase from advapi32.dll to services.exe. 2008-03-29 11:51:01 +01:00
Mikołaj Zalewski 76d4eeebff services: Move ChangeServiceConfigW implementation from advapi32.dll to services.exe. 2008-03-29 11:17:07 +01:00
Mikołaj Zalewski a2156fc348 services: Move CreateService, OpenService and DeleteService implementations from advapi32.dll to services.exe. 2008-03-29 11:15:59 +01:00
Mikołaj Zalewski a1fbd5508f services.exe: Load list of services from registry at startup. 2008-03-28 14:49:17 +01:00