[fpc-devel] Why FreeBSD sem_init() works different to Linux?

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Feb 7 13:01:47 CET 2013


On 07 Feb 2013, at 12:52, Jonas Maebe wrote:

> It doesn't belong in our manuals. Anyone who wants to manually  
> create low level thread synchronisation primitives will have to know  
> a lot more about cpu architecture and memory consistency models then  
> we could ever describe in our documentation.

In case anyone is interested, some good documents on this topic are:
* http://www.rdrop.com/users/paulmck/scalability/paper/ordering.2007.09.19a.pdf
* http://www.kernel.org/doc/Documentation/memory-barriers.txt


Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20130207/d503cda5/attachment.html>


More information about the fpc-devel mailing list