On Donnerstag, 13. August 2009, Alex Balashov wrote:
> [...]
> There's nothing in OpenSER/Kamailio that is overly
> architecture-specific. It's mostly standard C with a bunch of POSIX and
> BSD and System V-derived system calls.
>
> Are you imagining there is inline assembly in the code, or what?


Hi Alex,


actually there is some assembly code which is used for fast locking:


https://openser.svn.sourceforge.net/svnroot/openser/branches/1.5/fastlock.h


SCNR. :-)


But it will fallback to the generic (slower) implementation if there is no specific code available.


Henning