Re: [Firebird-devel] patch from FreeBSD port

2014-09-15 Thread Jim Starkey
Has anyone given any thought to replacing lock manager semaphores with interlocked compare-and-swap based synchronization objects? Gcc and Visual Studio each support interlocked CAS as intrinsics, so the semantics if not the syntax are portable. CAS plus Linux futexes are less troublesome tha

Re: [Firebird-devel] Firebird 3.0 on MacOSX

2014-09-15 Thread marius adrian popa
nice , I have tested and it compiles fine with clang 3.5 also on ubuntu 14.04 On Tue, Sep 9, 2014 at 6:01 PM, Paul Beach wrote: > Marius, > > An update, Firebird 3.0 now compiles on MacOSX (10.9.x) > using clang etc under XCode 5.1 > > Am now working on the updated installer. > > Regards > Paul

Re: [Firebird-devel] patch from FreeBSD port

2014-09-15 Thread marius adrian popa
It seems that in 9.x and 10 they did increase http://fxr.watson.org/fxr/source/kern/sysv_sem.c?v=FREEBSD10 define SEMMNS 340 vs 60 in freebsd 82 ps: can we switch to posix semaphores ? (I saw that you started the work for it on android port) , this is what i see they use in high performance be

Re: [Firebird-devel] patch from FreeBSD port

2014-09-15 Thread Alex Peshkoff
On 09/14/14 19:06, marius adrian popa wrote: > This patch > https://github.com/freebsd/freebsd-ports/blob/master/databases/firebird25-server/files/patch-src-jrd_isc_sync.cpp I.e. they did increase the default number of semaphores? -