On Sat, 20 Nov 2010, Enlightenment SVN wrote:

> Log:
>  move store to an actual lib file - elementray.h too and check for
>  pthread support due to locks. (vtorri - windows way of doing this?)

If it's just mutex (creation, lock, unlock, destruction), it is easy:

http://trac.enlightenment.org/e/browser/trunk/eina/src/lib/eina_main.c#L79
http://trac.enlightenment.org/e/browser/trunk/eina/src/lib/eina_main.c#L294
http://trac.enlightenment.org/e/browser/trunk/eina/src/lib/eina_main.c#L363

Note that if pthread initialisation is just a value and there is no 
destruction, on Windows they must be created and destroyed. Hence the two 
last links above.

The m4 macro: eina/m4/efl_threads.m4  and in configure.ac:

http://trac.enlightenment.org/e/browser/trunk/eina/configure.ac#L86

Eventually, in configure output, something to say that threads are used:

http://trac.enlightenment.org/e/browser/trunk/eina/configure.ac#L635

Vincent

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to