Re: [Mono-dev] [PATCH] New managed code for unmanaged(Win32)resourcehandling (SRE, PEAPI, MCS)

2006-03-08 Thread Kornél Pál
Hi, I'm going to post an updated version of the patch to the list soon that is modified according to your suggestions and contains some more rationalized code. I found that only 'DefaultResource' is used in mcs and all used properties are of simple types. I know there are internal dependencies

Re: [Mono-dev] [PATCH] New managed code for unmanaged (Win32)resourcehandling (SRE, PEAPI, MCS)

2006-03-08 Thread Marek Safar
Hello, My concern was not about speed, but about reliability. I just don't believe it is worthwhile to utilize file system when it can be done in memory. Are you sure that the filename will be unique even when you run several instances of mcs simultaneously ? Now I understand that we did not un

Re: [Mono-dev] [PATCH] New managed code for unmanaged (Win32)resourcehandling (SRE, PEAPI, MCS)

2006-03-08 Thread Marek Safar
Hello, My concern was not about speed, but about reliability. I just don't believe it is worthwhile to utilize file system when it can be done in memory. Are you sure that the filename will be unique even when you run several instances of mcs simultaneously ? Now I understand that we did not un

Re: [Mono-dev] [PATCH] New managed code for unmanaged (Win32)resourcehandling (SRE, PEAPI, MCS)

2006-03-07 Thread Kornél Pál
Hi, My concern was not about speed, but about reliability. I just don't believe it is worthwhile to utilize file system when it can be done in memory. Are you sure that the filename will be unique even when you run several instances of mcs simultaneously ? Now I understand that we did not unde

Re: [Mono-dev] [PATCH] New managed code for unmanaged (Win32) resourcehandling (SRE, PEAPI, MCS)

2006-03-07 Thread Marek Safar
Hello Kornél, Note that SRE and PEAPI parts were not discussed yet so I am waiting comments on those parts from component owners. Well, I would prefer to use the memory solution. 1. It's faster 2. It's easier to implement, no problems with file removing, creating, locking, etc. 3. I don't belie

Re: [Mono-dev] [PATCH] New managed code for unmanaged (Win32) resourcehandling (SRE, PEAPI, MCS)

2006-03-06 Thread Kornél Pál
Hi, Note that SRE and PEAPI parts were not discussed yet so I am waiting comments on those parts from component owners. Well, I would prefer to use the memory solution. 1. It's faster 2. It's easier to implement, no problems with file removing, creating, locking, etc. 3. I don't believe that an