Jonas M. Gastal
aefb755102
Eina: Fixing image in pdf doc.
...
SVN revision: 62116
2011-08-04 22:52:29 +00:00
Jonas M. Gastal
8b64d75531
Eina: eina tiler example.
...
SVN revision: 62113
2011-08-04 22:05:46 +00:00
Jonas M. Gastal
05e1dc49c6
Eina: eina_tiler docs(examples to follow).
...
SVN revision: 62112
2011-08-04 22:05:25 +00:00
Jonas M. Gastal
610facb5be
Eina: adding image to eina_stringshare.
...
SVN revision: 62104
2011-08-04 20:44:05 +00:00
Jonas M. Gastal
1e9076c27b
Eina: adding image showing eina array growth.
...
SVN revision: 62103
2011-08-04 20:43:51 +00:00
Tom Hacohen
41f840b9b1
Eina list: eina_list_data_set is *not* pure.
...
SVN revision: 62081
2011-08-04 06:44:19 +00:00
Jonas M. Gastal
7e095c6b70
Eina: Separating eina_lock and company from eina_file's
...
group.
SVN revision: 62067
2011-08-03 19:13:18 +00:00
Cedric BAIL
bcf2d84237
eina: the actual patch.
...
SVN revision: 62052
2011-08-03 12:01:35 +00:00
Cedric BAIL
5a42968177
eina: fix eina_share_common_ref/del
...
patch by Myungjae Lee <mjae.lee@samsung.com>.
SVN revision: 62051
2011-08-03 12:00:46 +00:00
Carsten Haitzler
601a4e3cef
improve eina main page and links
...
SVN revision: 62038
2011-08-03 04:55:12 +00:00
Tom Hacohen
ea689302c5
Eina: Moved valgrind check to the libararies check section.
...
As suggested by vtorri.
SVN revision: 61990
2011-08-02 10:50:13 +00:00
Carsten Haitzler
29864666c9
that's it - remove autom4te.cache dirs again... - keep having to many
...
problems about it storing invalid config when the same build trees are
shared between multiple architectures and machines. :( better we
build right than build fast.
SVN revision: 61974
2011-08-02 04:13:33 +00:00
Cedric BAIL
770e7fe863
eina: forgotten since.
...
SVN revision: 61957
2011-08-01 14:59:51 +00:00
Cedric BAIL
811b050ee8
eina: better implementation.
...
SVN revision: 61900
2011-07-29 15:37:39 +00:00
Cedric BAIL
2b574523d2
eina: add eina_main_loop_is.
...
SVN revision: 61896
2011-07-29 14:56:42 +00:00
Jonas M. Gastal
cd8cd93209
Eina: Groups shouldn't be inside themselves, and both groups
...
and conditionals need to be properly closed..
SVN revision: 61413
2011-07-15 18:37:44 +00:00
Jonas M. Gastal
2d6dec2b4e
Eina: Making html tags in doc appear only in html doc.
...
SVN revision: 61412
2011-07-15 18:35:45 +00:00
Jonas M. Gastal
eff8c0568e
Eina: Giving some pages better names and fixing a typo.
...
SVN revision: 61411
2011-07-15 18:33:41 +00:00
Lucas De Marchi
6fb6089ea1
eina: fix common misspellings
...
Misspellings detected by codespell.
SVN revision: 61405
2011-07-15 14:31:31 +00:00
Jonas M. Gastal
f99a16d27d
Eina: add descriptions to eina accessor and eina strbuf.
...
SVN revision: 61404
2011-07-15 14:07:03 +00:00
Vincent Torri
70d3c66bd7
Eina: link against iconv, use rt_libs to hold -lrt and add -lrt to eina.pc.in's Libs.private
...
SVN revision: 61358
2011-07-14 07:18:11 +00:00
Vincent Torri
f9fe039a95
Eina : configure.ac : improve shm_open detection
...
* Do not use spaces around '=' in configure scripts
* formatting
* put -lrt in EINA_LIBS instead of LIBS
SVN revision: 61357
2011-07-14 06:58:59 +00:00
Cedric BAIL
43e1e44168
eina: fix typo.
...
SVN revision: 61329
2011-07-13 09:25:49 +00:00
Cedric BAIL
fc8f5a4be9
eina: fix eina shm_open detection.
...
SVN revision: 61328
2011-07-13 09:21:55 +00:00
Cedric BAIL
5d21b6699b
eina: fix build on NetBSD.
...
NOTE: we need a fallback for shm_open that will work on BSD system.
SVN revision: 61324
2011-07-13 08:51:19 +00:00
Vincent Torri
090ab4805c
Eina : lock (win32) : fix compilation
...
cedric, can you confirm me that
- LeaveCriticalSection(&mutex->cond_read->threads_count_lock);
...
+ LeaveCriticalSection(&mutex->cond_read.waiters_count_lock);
is correct ?
SVN revision: 61170
2011-07-09 10:20:02 +00:00
Jonas M. Gastal
4b0536d424
Eina: Adding diagrams for eina list macros.
...
SVN revision: 61132
2011-07-07 19:26:47 +00:00
Daniel Juyung Seo
72bcec17b9
edje/ecore/eina: Updated documentaton for version number.
...
I did this manually. But it'll be good if someone can automate this.
It's a painful for busy developers.
SVN revision: 61104
2011-07-07 04:58:34 +00:00
Rafael Antognolli
0dd5077566
eina/hash - Add examples to list and fix doc of some functions.
...
SVN revision: 61094
2011-07-06 18:01:42 +00:00
Rafael Antognolli
948cdf95f1
eina/hash - Add example that demonstrate many ways of deleting items.
...
SVN revision: 61093
2011-07-06 18:00:38 +00:00
Rafael Antognolli
9bb4278df8
eina/hash - Added examples that use different types of hash.
...
SVN revision: 61092
2011-07-06 17:59:58 +00:00
Rafael Antognolli
eb7f4de17d
eina/hash - improve performance comparison between different hashes.
...
For the hashes available for storing string keys, give a better
explanation about the difference of performance.
Also add to the documentation that the data_free_cb will be called when
when items are deleted from the hash table, not only on the hash table
free.
SVN revision: 61091
2011-07-06 17:58:41 +00:00
Jonas M. Gastal
d8d3e290be
Eina: Improving eina_accessor documentation.
...
SVN revision: 61089
2011-07-06 14:50:46 +00:00
Jonas M. Gastal
6b3b2c15b5
Eina: Improvements to eina_list's documentation.
...
SVN revision: 61088
2011-07-06 14:50:33 +00:00
Jonas M. Gastal
0705400fbf
Eina: Improvement to eina_iterator's documentation.
...
SVN revision: 61087
2011-07-06 14:50:12 +00:00
Jonas M. Gastal
aef23ad7ef
Eina: Improvements to eina_array's documentation.
...
SVN revision: 61086
2011-07-06 14:49:44 +00:00
Jonas M. Gastal
750fa56716
Make eina docs work on IE8 and IE9.
...
SVN revision: 61055
2011-07-05 16:35:20 +00:00
Jonas M. Gastal
239864e32c
Eina: Spelling fixes and using smaller size for hash image.
...
SVN revision: 61018
2011-07-04 19:48:01 +00:00
Jonas M. Gastal
8bd2207fd7
Eina: Adding link to example in eina_str documentation.
...
SVN revision: 61013
2011-07-04 17:18:30 +00:00
Carsten Haitzler
db6157d408
and include eina_mmap.h in Eina.h <- forgot
...
SVN revision: 60977
2011-07-04 09:35:17 +00:00
Carsten Haitzler
d926889559
add eina mmap safety handling.
...
SVN revision: 60976
2011-07-04 09:29:59 +00:00
Jonas M. Gastal
2587a69af7
Eina: eina_strbuf example and documentation.
...
SVN revision: 60762
2011-06-28 14:38:17 +00:00
Jonas M. Gastal
1eb2a44f08
Eina: Slight improvement to eina_strbuf's documentation.
...
SVN revision: 60761
2011-06-28 14:37:49 +00:00
Jonas M. Gastal
2b6a9986cb
Eina: improve eina_str documentation.
...
SVN revision: 60757
2011-06-28 13:52:59 +00:00
Jonas M. Gastal
fc62f8d13d
Eina: eina_str example and accompanying documentation.
...
SVN revision: 60742
2011-06-27 20:26:43 +00:00
Rafael Antognolli
c7ebecd004
eina/autotools - fix typo on eina_log example
...
SVN revision: 60735
2011-06-27 15:10:34 +00:00
Jonas M. Gastal
0a0fc20529
Eina: Reorganization of eina log documentation.
...
SVN revision: 60733
2011-06-27 14:02:10 +00:00
Mike Blumenkrantz
5e56d28dbd
fix eina_binbuf_* signatures to use unsigned char instead of char...
...
SVN revision: 60693
2011-06-26 00:08:03 +00:00
Cedric BAIL
a5fe2772c7
eina: add Eina_LockRW. more refactoring code comming.
...
SVN revision: 60628
2011-06-23 09:58:54 +00:00
Jonas M. Gastal
9f9686f2f3
Eina: Adding eina file example to makefile.
...
SVN revision: 60606
2011-06-22 19:48:37 +00:00
Jonas M. Gastal
655ca9d44e
Eina: Eina error documentation improvement.
...
SVN revision: 60605
2011-06-22 19:48:27 +00:00
Jonas M. Gastal
dbe4c5d613
Eina: Eina file documentation.
...
SVN revision: 60604
2011-06-22 19:25:44 +00:00
Cedric BAIL
563fbf97f2
eina: update Eina_Refcount API to please Tasn.
...
SVN revision: 60592
2011-06-22 14:04:09 +00:00
Carsten Haitzler
6c96111e0a
dont bloody cache files! all this will do is leak them forever. no
...
cache. JUSt a shared hash. ZERO speculative retention cache. it was
broken before anyway.
grrrrr..........
SVN revision: 60589
2011-06-22 12:47:12 +00:00
Cedric BAIL
6aade06b3f
eina: fix eina_stringshare_dump bug #791 reported by jgastal@profusion.mobi.
...
SVN revision: 60580
2011-06-22 08:14:32 +00:00
Jonas M. Gastal
7a1da7d624
Eina: Eina_Stringshare documentation.
...
SVN revision: 60559
2011-06-21 20:45:50 +00:00
Jonas M. Gastal
702eb939d9
Eina: EINA_MAGIC example and documentation.
...
SVN revision: 60535
2011-06-20 21:15:17 +00:00
Lucas De Marchi
cde2bec9f6
eina: fix common misspellings
...
Common misspellings found by codespell.
SVN revision: 60479
2011-06-18 19:48:28 +00:00
Jonas M. Gastal
c0d8ef9ede
Eina: Adding images for latex docs.
...
SVN revision: 60452
2011-06-17 14:20:59 +00:00
Cedric BAIL
c2d99295bd
eina: rename eina_hash_free_set as eina_hash_free_cb_set.
...
SVN revision: 60439
2011-06-17 09:49:15 +00:00
Cedric BAIL
d70d67c288
eina: forgotten commit.
...
SVN revision: 60428
2011-06-17 08:55:22 +00:00
Cedric BAIL
eb976c2571
eina: disabling Eina_Object until 1.1 is released.
...
SVN revision: 60427
2011-06-17 08:48:02 +00:00
Michael Jennings
092d2d861b
Since the SVN revision is now included in %{version}, it's redundant
...
to have it in %{release} also. So let's just tag the package as ours
and try to make sure it doesn't interfere with vendor releases.
SVN revision: 60407
2011-06-16 20:36:43 +00:00
Cedric BAIL
a336a811ec
eina: @since
...
SVN revision: 60356
2011-06-15 15:54:42 +00:00
Cedric BAIL
7decbe6825
eina: +eina_hash_free_set.
...
SVN revision: 60354
2011-06-15 15:46:10 +00:00
Rafael Antognolli
5ab79258a2
eina: Add detailed description and some examples to Eina_Inlist.
...
SVN revision: 60310
2011-06-14 17:43:53 +00:00
Jonas M. Gastal
aab43b7ead
eina: A few fixes for the Eina_List doc.
...
SVN revision: 60288
2011-06-13 17:46:22 +00:00
Jonas M. Gastal
d3ee1a3353
eina: Add acknowledgment of Samsung's patronage to
...
documentation project.
SVN revision: 60285
2011-06-13 16:44:08 +00:00
Jonas M. Gastal
0be4917595
eina: Eina_Accessor documentation.
...
SVN revision: 60284
2011-06-13 16:42:25 +00:00
Boris Faure
e6119fa4d9
remove .cvsignore files
...
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Tom Hacohen
ed8dd1c1d4
Eina strbuf: Add csize to documentation.
...
Thanks to Ulrich Eckhardt for the patch
SVN revision: 60236
2011-06-12 07:58:59 +00:00
Tom Hacohen
1fc8976439
Eina ustrbuf: Fixed eina_ustrbuf_prepend_char.
...
Thanks to Ulrich Eckhardt for the report.
SVN revision: 60235
2011-06-12 07:58:55 +00:00
Daniel Juyung Seo
4c7bc3890e
eina examples/eina_list_01.c: Added new line to explicitly separate
...
two outputs.
SVN revision: 60229
2011-06-11 09:17:31 +00:00
Daniel Juyung Seo
bb41b4530a
eina: Fixed doxygen.
...
SVN revision: 60228
2011-06-11 09:16:45 +00:00
Carsten Haitzler
cf92b358ae
wrn--
...
SVN revision: 60222
2011-06-11 03:52:30 +00:00
Daniel Juyung Seo
25b5223e6c
Eina examples: Removed trailing whitespaces.
...
SVN revision: 60212
2011-06-11 01:24:04 +00:00
Jonas M. Gastal
969e12b320
eina: Add missing hash table image and make imgs work for
...
latex docs.
SVN revision: 60194
2011-06-10 14:54:01 +00:00
Jonas M. Gastal
160fdb558f
eina: Eina_Iterator documentation.
...
SVN revision: 60193
2011-06-10 13:42:19 +00:00
Jonas M. Gastal
11458e8e08
eina: Eina_Array documentation.
...
SVN revision: 60192
2011-06-10 13:41:59 +00:00
Jonas M. Gastal
29a7fddf18
eina: Documentation for Eina_List.
...
SVN revision: 60191
2011-06-10 13:40:50 +00:00
Fabiano Fidêncio
989da2f5c1
Ooops! Fixing eina_list_sorted doc, again!
...
SVN revision: 60162
2011-06-10 03:41:48 +00:00
Fabiano Fidêncio
59023e6b9d
Fixing eina_list_sort docs
...
SVN revision: 60161
2011-06-10 03:33:01 +00:00
Rafael Antognolli
0213972e5b
eina: add autotools rules to building and installing examples.
...
SVN revision: 60150
2011-06-09 18:53:38 +00:00
Rafael Antognolli
348787c45b
[eina] Add high-level documentation and examples for Eina_Hash.
...
SVN revision: 60149
2011-06-09 18:52:45 +00:00
Carsten Haitzler
210c898e06
fix eina prefix - somehow using elm_init make it find the wrong prefix
...
for the lib. weird.
SVN revision: 60066
2011-06-08 02:59:52 +00:00
Mike McCormack
2b58267396
Add ignore and update files
...
SVN revision: 60034
2011-06-07 10:26:13 +00:00
Rafael Antognolli
198f7ee958
eina: fix doc building when srcdir != builddir.
...
SVN revision: 60004
2011-06-06 20:20:38 +00:00
Cedric BAIL
5fa5eb95cd
eina: make Eina_File thread safe.
...
SVN revision: 59995
2011-06-06 17:08:06 +00:00
Vincent Torri
3d4c2fb340
Eina: fix static linking with eina
...
Fix static linking with eina (iconv could potentially not be
passed to the linker)
SVN revision: 59914
2011-06-03 07:46:15 +00:00
Vincent Torri
888fd92769
Eina : eina_module.c: fix dladdr use on Windows
...
SVN revision: 59881
2011-06-01 20:43:01 +00:00
Cedric BAIL
9aa4942caa
eina: make him happy.
...
SVN revision: 59876
2011-06-01 15:04:29 +00:00
Vincent Torri
f0d24bcef1
Eina : eina_file : eina_file_size_get() should return a size_t
...
SVN revision: 59859
2011-06-01 06:54:49 +00:00
Vincent Torri
e38103cc0b
Eina : eina_file : add @since 1.1 to doxy doc
...
SVN revision: 59858
2011-06-01 06:53:49 +00:00
Vincent Torri
1a833d15a4
Eina : eina_file_win32.c : add share mode when opening a file
...
On Windows, if you want to open the same file several times,
you have to tell it can... No ChangeLog as that code is work in
progress)
SVN revision: 59857
2011-06-01 06:18:56 +00:00
Vincent Torri
a04de9e388
Eina : eina_sched.c : simpler code on Windows
...
SVN revision: 59856
2011-06-01 06:12:55 +00:00
Vincent Torri
64af7d5ae5
Eina : eina_inline_lock_win32.x : fix cedric's modifications in win32 code
...
SVN revision: 59855
2011-06-01 05:55:48 +00:00
Cedric BAIL
a0ea6c5130
eina: fix eina_hash_set to act when data == NULL like eina_hash_del.
...
SVN revision: 59849
2011-05-31 16:43:40 +00:00
Lucas De Marchi
20966bb8c4
eina: fix misspellings
...
SVN revision: 59820
2011-05-30 16:08:20 +00:00
Cedric BAIL
bc0e734f93
eina: add eina_condition_timedwait.
...
SVN revision: 59819
2011-05-30 15:24:06 +00:00
Cedric BAIL
89b66a97b2
eina: ERROR_CHECK just make sense when you are debbuging lock usage.
...
SVN revision: 59811
2011-05-30 12:49:04 +00:00
ChunEon Park
f569f76be6
eina/eina_hash - fixed indentation
...
SVN revision: 59703
2011-05-26 12:06:48 +00:00
Cedric BAIL
5b62f47079
eina: fix eina_inlist_sorted_insert and improve its tests.
...
SVN revision: 59669
2011-05-25 13:18:21 +00:00
Cedric BAIL
cde3148eca
eina: add eina_inlist_sorted_insert.
...
SVN revision: 59654
2011-05-24 15:17:56 +00:00
Vincent Torri
9f2ac8d7e3
Eina: Implement eina_sched_prio_drop() on Windows
...
SVN revision: 59637
2011-05-24 06:29:58 +00:00
Vincent Torri
008e1a56ac
I like alphabetical order :)
...
SVN revision: 59516
2011-05-18 19:11:09 +00:00
Vincent Torri
31f60da46e
debug--
...
SVN revision: 59505
2011-05-18 13:17:54 +00:00
Vincent Torri
4a16749112
Eina_lock : fix Windows code, thanks to cedric
...
SVN revision: 59504
2011-05-18 13:15:25 +00:00
Cedric BAIL
c132a4ac50
eina: fix typo.
...
SVN revision: 59503
2011-05-18 12:56:49 +00:00
Tom Hacohen
4ea3aa489f
Eina binbuf: Fix compilation and correct the mistakes.
...
SVN revision: 59500
2011-05-18 11:45:32 +00:00
Tom Hacohen
594d94782b
Eina binbuf: Struct name should be binbuf, not strbuf.
...
SVN revision: 59497
2011-05-18 10:52:50 +00:00
Cedric BAIL
fe7ae5930a
eina: part of the init is specific, so preserve it.
...
SVN revision: 59493
2011-05-18 10:05:59 +00:00
Cedric BAIL
42e460e3b6
eina: fix eina_share_common_init.
...
SVN revision: 59485
2011-05-18 07:56:11 +00:00
Sangho Park
7cbc531e4c
Eina: add 'eina_init()' at the testcase of simple_xml_parser.
...
SVN revision: 59479
2011-05-18 02:49:59 +00:00
Sangho Park
725b056fab
Eina: add testcase for 'eina_simple_xml_parser'
...
SVN revision: 59478
2011-05-18 02:29:59 +00:00
Cedric BAIL
c9a4fc3054
eina: fix eina_file to be really usable.
...
SVN revision: 59470
2011-05-17 16:17:28 +00:00
Tom Hacohen
63f89e6866
Eina: Added .gitignore.
...
SVN revision: 59469
2011-05-17 15:49:08 +00:00
Tom Hacohen
8ca233f8cb
Eina binbuf: Added eina_binbuff an auto resizing binary buffer.
...
SVN revision: 59468
2011-05-17 15:45:39 +00:00
Cedric BAIL
44798b830c
eina: build without threads support.
...
SVN revision: 59467
2011-05-17 10:15:19 +00:00
Vincent Torri
43397834ac
Eina_ : eina_file_win32.c : fix returned value of eina_file_shutdown()
...
SVN revision: 59463
2011-05-17 05:38:29 +00:00
Vincent Torri
495c88aac8
fix eina_prefix.c on Windows (at least a part of it, as elm is not working with it)
...
SVN revision: 59454
2011-05-16 17:39:20 +00:00
Vincent Torri
eebeebb147
fix eina_inline_lock_void.x
...
SVN revision: 59453
2011-05-16 17:37:51 +00:00
Vincent Torri
d809170ea9
Eina: eina_lock: fix eina_lock on Windows
...
SVN revision: 59395
2011-05-15 10:55:07 +00:00
Vincent Torri
4a6a5bd213
i'm not cedric
...
SVN revision: 59392
2011-05-14 21:23:03 +00:00
Vincent Torri
65892e65b7
Eina : eina_lock : make it compile on Windows
...
SVN revision: 59391
2011-05-14 21:19:36 +00:00
Boris Faure
021819f4f9
eina: improve hash documentation on free_cb
...
SVN revision: 59383
2011-05-14 14:39:25 +00:00
Cedric BAIL
31e53c82bf
eina: always put map in memory when requested and use HUGETLB when available.
...
SVN revision: 59366
2011-05-13 10:44:29 +00:00
Cedric BAIL
0351269adc
eina: check condition is still alive when debugging threads.
...
SVN revision: 59299
2011-05-09 14:41:39 +00:00
Cedric BAIL
9e20be0766
eina: have same behaviour on windows and linux.
...
SVN revision: 59297
2011-05-09 13:12:36 +00:00
Cedric BAIL
5f820ce976
eina: oops, need to protect inside #ifdef.
...
SVN revision: 59295
2011-05-09 13:06:03 +00:00
Cedric BAIL
c73f0f9cf5
eina: improve lock debugging.
...
SVN revision: 59293
2011-05-09 12:54:47 +00:00
Cedric BAIL
d2b65a51d0
eina: more check.
...
SVN revision: 59289
2011-05-09 10:42:42 +00:00
Cedric BAIL
d20144bc9f
eina: add Eina_Condition.
...
SVN revision: 59287
2011-05-09 10:32:56 +00:00
Cedric BAIL
83c3a1a0fb
eina: check pending lock at the right time.
...
SVN revision: 59286
2011-05-09 10:29:55 +00:00
Cedric BAIL
8820713691
eina: remove flood of debugging information.
...
SVN revision: 59234
2011-05-06 09:16:40 +00:00
Cedric BAIL
b4f8d80b02
eina: remove useless lock.
...
SVN revision: 59233
2011-05-06 09:07:26 +00:00
Cedric BAIL
25550183e0
eina: improve on/off and debugging lock.
...
Now if a lock is still taken when shutdown occur, you will know
where it come from !
SVN revision: 59191
2011-05-04 13:53:22 +00:00
Tom Hacohen
4a11dacf16
Eina lock: unused warning suppression is done with (void).
...
Not only that it's uglier doing mutex=0, but also new gcc started
complainig about it.
SVN revision: 59137
2011-05-02 18:19:41 +00:00
Cedric BAIL
fdc092efe1
eina: forgotten commit.
...
SVN revision: 59125
2011-05-02 13:52:34 +00:00
Cedric BAIL
5c2d05374c
eina: use the right naming.
...
SVN revision: 59124
2011-05-02 13:51:20 +00:00
Cedric BAIL
691da73b84
eina: add back threads on/off support.
...
NOTE: only use it if you know what you are doing !
SVN revision: 59123
2011-05-02 13:40:28 +00:00
Cedric BAIL
e5402b2eb2
eina: forgotten initialization.
...
SVN revision: 59121
2011-05-02 13:09:38 +00:00
Cedric BAIL
9140383045
eina: improve thread debugging and portability.
...
All thread debugging facility, including lock debug, on by turning --enable-debug-threads
at configure time of eina.
When threads check are disable, make sure that all lock/release are called
from the main loop only. And in all case, eina_lock_new/eina_lock_delete should be
called from the main loop.
Remove static initialization as it is not portable under Windows.
SVN revision: 59118
2011-05-02 11:25:35 +00:00
Cedric BAIL
a345a670b2
eina: make sure eina_threads_init/eina_threads_shutdown are correctly called.
...
SVN revision: 59117
2011-05-02 11:20:00 +00:00
Carsten Haitzler
5061598e12
also return deadlock from normal lock (not try only)
...
SVN revision: 59103
2011-05-02 08:34:22 +00:00
Carsten Haitzler
651cff4602
formalise eina lock results to be equivalent to true/false with added
...
deadlock for try.
SVN revision: 59101
2011-05-02 08:24:06 +00:00
Vincent Torri
65e50307a0
time.h should be sufficient
...
SVN revision: 59096
2011-05-02 07:04:24 +00:00
Vincent Torri
604c4b993a
Eina: eina_file.h: fix compilation on Mac Os X
...
define time_t on Mac OS X. Patch by Dave Ray.
SVN revision: 59095
2011-05-02 05:52:31 +00:00
Carsten Haitzler
234f0a4659
oh dear. this new eina_lock thing is a bit of a mess isn't it now?
...
some fundamental errors there. don't go replacing pthread locks with
wrappers unless you know full well what u are doing. havnig threads
only work while "threads are initted" and then init/shtudown the thread
thing every time u spawn a thread.. is pretty silly. what if a thread
ends in the background WHILE u have a lock.. u try unlock.. u know
what ? your unlock DOES nothing. so you retain a lock. next time u
want to lock once a thread is around.. u have a deadlock issue.
even better - the checking if threads are initted and up is not
locked, so it can come up while it is being checked. more race
conditions. u need to clokc the init/shutdown AND lock the checking of
the value... and even then u STILl have problem #1 above. so that code
is now gone.
also trylock trturn inverse logic to the original pthread func and the
macros in evas that used it were not changed accordingly! aaagh!
i've also added backtrace debug ability to eina threads if compiled in
- u can get a bt of who last locked something. i had to do this just to
begin to grasp what on earth was going on. it's off by default.
also... the locks are error check locks to trylock can detect
deadlocks. speacil "2" return for now. better than a poke in the eye
with a sharp stick until we decide what to do. for now i hopew i have
killed this thread lock bug.
SVN revision: 59085
2011-05-01 13:24:08 +00:00
Boris Faure
a96931a66b
eina: fix #elif usage
...
SVN revision: 59044
2011-04-29 19:08:03 +00:00
Boris Faure
64f1cee555
eina: remove redundant declaration
...
SVN revision: 59043
2011-04-29 19:07:46 +00:00