Dmitry, All,

On Mon, 2017-03-20 at 20:06 +0300, Dmitry Yemanov wrote:
> >> It also might be possible to use shared memory for synchronization
> >> instead of lock manager calls to speed things up.
> >
> >    Could you explain more ?
> 
> I suppose Nickolay means replacing GlobalRWLock with native OS-level RW 
> primitives used similar to shared memory mutexes. For Windows, they're 
> just shared as named objects, for POSIX they're stored in shmem.

You are mostly correct.

However, for Windows we would have to roll our own sync objects that
would use shared memory, atomic ops and named objects (e.g. event).
SRWLock is for one process only unfortunately.

Nikolay Samofatov



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to