Cedric BAIL
f9b8578ea6
* eina: add assert to ease tracking down efl misuse with threads.
...
SVN revision: 53360
2010-10-13 15:35:56 +00:00
Cedric BAIL
e3a887235d
* eina: remove configure option for rwlock as it is not used anymore.
...
SVN revision: 51220
2010-08-16 15:36:17 +00:00
Mike Blumenkrantz
76a70bdd48
split out spinlock detection to separate macro for readability, add rwlock detection macro
...
***no functional changes***
SVN revision: 50910
2010-08-08 19:20:07 +00:00
Mike Blumenkrantz
d87ed6ac22
when all files combine and the enable flag is set, form VOLTRON, DEFENDER OF THE UNIVERSE!
...
SVN revision: 50550
2010-07-27 20:17:25 +00:00
Vincent Torri
c97a897584
use Win32 native mutex on Windows. To use it, pass the following option
...
to configure:
--enable-win32-threads
By default, pthreads are used
SVN revision: 50220
2010-07-13 13:51:00 +00:00
Vincent Torri
440fb47e30
fix pthread support with mingw
...
SVN revision: 49250
2010-05-28 18:57:19 +00:00
Vincent Torri
9abb2c1357
* link pthread and spinlock code instead of just compiling
...
* POSIX pthread spinlock may be unimplemented, so don't
exit with an error if they are not available
SVN revision: 48537
2010-05-02 05:19:00 +00:00
Vincent Torri
240395f366
Some libc have a pthread that declares spinlock functions,
...
but does not define them. So the check now links the test code.
SVN revision: 48524
2010-05-01 20:37:56 +00:00
Carsten Haitzler
36bd7d71e0
amd64 - apparently fbsd is still living back in that past where 64bit was amd
...
only... :)
SVN revision: 48272
2010-04-24 14:05:05 +00:00
Vincent Torri
91d2b4b2e9
typo
...
SVN revision: 46945
2010-03-07 12:13:30 +00:00
Vincent Torri
9d1529b09d
when pthread is found, don't abort if spin lock is not found but not reqested
...
Patch by Albin Tonnerre
SVN revision: 46940
2010-03-07 12:04:46 +00:00
Vincent Torri
43908b1905
abort when pthread is requested but not found
...
patch by Albin Tonnerre
SVN revision: 46654
2010-02-28 17:27:23 +00:00
Vincent Torri
3c8d96125a
use C (and not C++) pthread library on Windows
...
SVN revision: 46431
2010-02-24 15:43:32 +00:00
Vincent Torri
b87e1d6fae
* -fno-strict-aliasing is checked at linked time (to make sure
...
that it is disabled for suncc)
* add old evas data types in tests. Tell me if you encounter problems
with them
SVN revision: 46136
2010-02-13 12:32:22 +00:00
Vincent Torri
4b5ea14fbb
formatting
...
SVN revision: 46109
2010-02-12 07:32:11 +00:00
Sebastian Dransfeld
e699b67248
Only test built mempools
...
SVN revision: 46096
2010-02-11 21:21:22 +00:00
Vincent Torri
64f1c415e2
update efl_fnmatch m4 macro
...
SVN revision: 45851
2010-02-03 20:46:32 +00:00
Vincent Torri
88d43e8435
use efl_fnmatch macro
...
SVN revision: 45847
2010-02-03 20:13:56 +00:00
Vincent Torri
bc31ff5423
fix mingw flags
...
SVN revision: 45668
2010-01-28 17:13:07 +00:00
Vincent Torri
4405fdfed1
* make chained mempool static by default
...
* disable other by default
if you experience an problem, please report in that thread
SVN revision: 45593
2010-01-26 15:30:40 +00:00
Vincent Torri
987757058f
add mempool namespace in configure help
...
SVN revision: 45582
2010-01-26 11:22:48 +00:00
Vincent Torri
c3c03b9c5b
* more portable shell tests
...
* better m4 code
SVN revision: 45540
2010-01-24 23:04:24 +00:00
Vincent Torri
5dbf60bd8f
use m4 macro ti check compiler flag
...
patch by Lutin (who also wrote the m4 macro, i forgot that
in the previous commit)
SVN revision: 45518
2010-01-24 11:13:23 +00:00
Vincent Torri
ebed5f4dab
* better m4 coding
...
* improve pthread detection and add spinlock detection
SVN revision: 44717
2009-12-25 11:29:08 +00:00
Vincent Torri
797833357f
stupid AC_CHECK_PROG
...
SVN revision: 43800
2009-11-19 09:02:25 +00:00
Vincent Torri
d3135f8f27
minor fix
...
SVN revision: 43797
2009-11-19 08:29:22 +00:00
Vincent Torri
c3c217c20f
add pthread support on Windows
...
SVN revision: 43435
2009-11-03 16:53:21 +00:00
Vincent Torri
5213fca489
rewrite a bit that m4 macro
...
SVN revision: 41881
2009-08-20 08:31:26 +00:00
Vincent Torri
07d7e5ce66
* remove the mention of the static link check in configure ouput
...
* add a (ecologic) warning at the end of configure if a module is
statically linked to eina
SVN revision: 41226
2009-06-30 16:18:41 +00:00
Vincent Torri
390f94bcfd
update m4 macros (mainly formatting)
...
SVN revision: 41212
2009-06-27 06:42:14 +00:00
Vincent Torri
b38a118162
* use a m4 macro for checking benchmark libraries and
...
check the libraries only if benchmarking is enabled
* add extra dist files to be able to configure eina
with autogen.sh and also add .spec files
SVN revision: 41203
2009-06-26 07:20:15 +00:00
Vincent Torri
3ecc808ae2
remove documentation on how to build eina with static mempools
...
SVN revision: 41161
2009-06-22 17:38:56 +00:00
Vincent Torri
8909bb6b69
* All memory pools can be enabled / disabled
...
* Allow to pass 'static' to configure memory pools
* Add fixed_bitmap in the possible statically linked memory pools
For example:
./configure --enable-chained-pool=static --disable-fixed-bitmap
SVN revision: 41119
2009-06-20 06:42:32 +00:00
Vincent Torri
983479952f
update efl_doxygen.m4
...
SVN revision: 40650
2009-05-15 08:11:51 +00:00
Cedric BAIL
55cfc46ee2
* eina/m4/efl_pthread.m4,
...
* eina/src/modules/mp/chained_pool/Makefile.am,
* eina/src/modules/mp/chained_pool/eina_chained_mempool.c: Now chained mempool are thread safe.
SVN revision: 39058
2009-02-17 14:18:14 +00:00
Vincent Torri
4fc823bdc9
* fix logic in efl_doxygen.m4
...
* allow aclocal to check for modifications of the m4 macros in m4/
SVN revision: 38892
2009-02-01 20:21:56 +00:00
Vincent Torri
ca0cbdbec7
update ac_attribute.m4
...
SVN revision: 38579
2009-01-14 08:36:16 +00:00
Vincent Torri
cc7b4554cb
The problem of the detection of __attribute__ on mac os x comes
...
from the fact that we put a definition of a function in the
body of main(). Moving it outside fixes it. In addition, the
extra flag i added in configure.ac is useless.
SVN revision: 38565
2009-01-13 06:19:47 +00:00
Vincent Torri
f84454ed08
mac os x port of gcc has problems with __attribute__ and thinks that
...
there are nested functions. -fnested-functions must be passed to the
compiler to allow the compilation on that platform.
SVN revision: 38544
2009-01-11 09:25:47 +00:00
Cedric BAIL
437c220266
Add dladdr and env code for eina_module from Vincent Torri.
...
SVN revision: 37374
2008-11-01 15:39:53 +00:00
Vincent Torri
82e185693f
and update comments
...
SVN revision: 36554
2008-10-09 20:24:40 +00:00
Vincent Torri
12a528086a
bug--
...
SVN revision: 36553
2008-10-09 20:20:38 +00:00
Vincent Torri
5063c86f4f
fix doxygen m4 macro (make it more efl-ish and fix a bug)
...
SVN revision: 36552
2008-10-09 20:16:41 +00:00
Vincent Torri
89d5e6f073
* add detection of SIMD and thread support
...
* minor formatting
SVN revision: 36418
2008-10-03 15:28:13 +00:00
Cedric BAIL
b6960f58b6
Patch from Vincent Torri that cleanup tests, coverage and benchmark.
...
SVN revision: 36315
2008-09-29 14:35:28 +00:00
Vincent Torri
4313d2b084
* fix list doc
...
* minor other doc fixes
* link the mempool modules statically to libeina when requested
* don't compile static lib of mempool when they are built as shared lib
SVN revision: 36178
2008-09-23 05:17:49 +00:00
Vincent Torri
9824a1a86c
Update documentation:
...
* run 'make doc' to generate the documentation. Hence
gendoc disappear. Doxyfile is moved to doc/
* update main page and doc of hash table, but it has to
be filled.
SVN revision: 35692
2008-08-27 13:34:04 +00:00
Cedric BAIL
7473953e3e
Add the __UNUSED__ macro.
...
SVN revision: 35269
2008-07-31 14:59:23 +00:00