Commit Graph

17 Commits

Author SHA1 Message Date
Adrien Nader 2cb0c1cadc eina: remove Windows specific thread implementation and rely on posix compliant library instead. 2015-02-11 16:38:10 +01:00
Jean Guyomarc'h f449f0ddb6 eina: port Eina_Spinlock for OSX
Summary: Support of Spinlocks in Eina (Eina_Spinlock) for OSX, which does not implement them in pthread.
@feature

Reviewers: raster, raoulh, naguirre, cedric, stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1151

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-08-21 12:04:53 +02:00
Cedric BAIL ec18feddd7 Revert "autotools: try improving thread detection."
This reverts commit 14c6378fc4.

So either we get to fix T880 or T986. I do think the problem is more tricky than
that, so I am for the moment going to get T880 broken rather than T986 as I think
the later will show up in more case for our user base. Will try to find a proper
solution for everyone before the next release.
2014-02-19 11:02:33 +09:00
Cedric BAIL 14c6378fc4 autotools: try improving thread detection.
As already stated before reliably detecting CC, LIBS and CFLAGS parameters for
use with threads is still a pain in 2014. With this patch I am trying to solve
T880 and use ax_pthread.m4. Note that I do not trust this macro more than the
previous one, so if there is any build issue on any system regarding thread, I
may just rollback to the previous code. Still I hope it is an improvement and
that our build system detect thread more reliably.
2014-02-18 12:24:19 +09:00
Sebastian Dransfeld d606437f65 m4: remove saving of CFLAGS
Since we don't modify cflags, no need to save them.
2013-11-15 13:19:58 +01:00
Sebastian Dransfeld 9a9222e3fc m4: Save cflags before restoring them
If we do CFLAGS=${SAVE_CFLAGS}, it is important to do
SAVE_CFLAGS=${CFLAGS} first...
2013-11-14 05:55:10 +01:00
Cedric Bail 4ff18573a0 efl: let's try to force that thread things this way. 2013-11-12 19:29:45 +09:00
Cedric Bail 2a29732e07 efl: let's try to detect in a portable way phtread around the world.
Linking to Pthread seems to be highly not portable. Look at lock.m4
macro if you want to understand the hell it is ! By following it
closely we should now have better portability than the 1.7.x release.
And of course than our alpha...
2013-11-12 16:06:22 +09:00
Cedric Bail 1b07350a46 eina: add Eina_Spinlock API. 2013-10-11 11:08:17 +09:00
Vincent Torri 7d6010b12c merge: add escape ecore, fix several bugs
SVN revision: 79995
2012-12-02 22:35:45 +00:00
Vincent Torri e082ab0e74 Eina: add affinity to win32 code.
It's not working yet:
 * eina_thread.c:152:33: error: 'index' undeclared (first use in this function)
 * eina_thread.c:295:4: warning: passing argument 3 of '_eina_thread_win32_create' from incompatible pointer type [enabled by default]

also:

 * line 142, is it normal that we call eina_list_append() with tw being NULL ?
 * is what I did in the close_thread label correct ?


SVN revision: 78416
2012-10-25 05:21:58 +00:00
Cedric BAIL 97dc017571 efl: change a little bit API.
SVN revision: 78229
2012-10-19 07:13:08 +00:00
Carsten Haitzler 42a59387a6 add eina barrier to efl tree.
SVN revision: 78100
2012-10-17 03:55:35 +00:00
Gustavo Sverzut Barbieri 16b14f9ce5 efl: remove option to debug threads, now enabled based on build profile.
If --with-profile=dev, we enable threads debug.



SVN revision: 77806
2012-10-10 20:40:34 +00:00
Gustavo Sverzut Barbieri 3acb5dde8b efl: remove EINA_HAVE_ON_OFF_THREADS support.
it's still in the code, but not configurable anymore. We may remove it
later if not really needed.



SVN revision: 77802
2012-10-10 20:30:39 +00:00
Gustavo Sverzut Barbieri a6acf1b2d0 efl: simplify threads step 1 - make it mandatory.
remove the eina_inline_lock_void.x fallback as it's not used anymore.

still keep the EINA_HAVE_THREADS in the source code.



SVN revision: 77796
2012-10-10 20:24:45 +00:00
Vincent Torri 785f2a6b3a merge : add eina
currently, examples, tests and benchmark are not set. That's the next things i'll do


SVN revision: 76710
2012-09-16 10:57:48 +00:00