From: Jarmo M. <ja...@mu...> - 2002-07-20 06:57:33
|
Hello, I think that you both can implement pieces of the services at the same time. I have some knowledge of services. I see services as following classes (I'm OO designer/programmer): - Service Control Program (SCP) - Service Control Manager Client (SCMC) - Service Control Manager Server (SCMS) - Service Process (SP) Service Control Program is the Services applet. This is clearly the easiest module to implement. Service Control Manager Client is the module which SCP uses and it's in advapi32.dll. This module implements client part. SCMC connects to SCMS by named pipe. Service Control Manager Server is the module where SCMC connects to and it's in services.exe. This module implement server part. SCMS starts the Service Process and creates a thread for service when the service is started. Service Process uses advapi32.dll too, but uses different APIs that SCP. One of the most difficult part, to me, is the pipe. What is the protocol? So, one could implement SCP, one could write both ends of the pipe, one could write SCMC and one could write SCMS. This could be easily splitted for four developers. At point I thought that I could implement them, but I don't have time. I checked ReactOS code and noticed that it wasn't implemented "at all". The code that were implemented started all services in the process at the same time. That's wrong. JMu ----- Original Message ----- From: "Jurgen Van Gael" <jur...@st...> To: <rea...@li...> Sent: Saturday, July 20, 2002 1:35 AM Subject: RE: [ros-kernel] Service.exe > Well, > > > As I am picking up reactos again I was just working on extending the > services.exe a bit more as a starting point. I was looking into > communication etc but as you are working on it maybe that isn't such a > good idea after all. Let me know if I should look into it further or if > I should look into WINE stuff or something! > > Jurgen > > -----Original Message----- > From: rea...@li... > [mailto:rea...@li...] On Behalf Of Eric > Kohl > Sent: Friday, July 19, 2002 23:14 > To: ReactOS Kernel > Subject: Re: [ros-kernel] Service.exe > > > > "Jurgen Van Gael" <jur...@st...> wrote: > > > > Well I was extending the functionality of services.exe. It's "My" > > starting point to get more into the internals of ReactOS. Do you mind > > me working on this as this is currently within my reach? (I'd be more > > than happy if you could email me your work on the communication and I > > might even extend your work ...) > > What part of services are you working on exactly? > > I'm currently working on the creation of service contol pipes and > sending a start command to the first service. This also includes several > modifications to lib/advapi32/service/sctrl.c. > > Eric > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf _______________________________________________ > reactos-kernel mailing list rea...@li... > https://lists.sourceforge.net/lists/listinfo/reactos-kernel > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > reactos-kernel mailing list > rea...@li... > https://lists.sourceforge.net/lists/listinfo/reactos-kernel > |