Commit Graph

134 Commits

Author SHA1 Message Date
Cedric BAIL 8036a32918 * ecore: rename ecore_long_run to ecore_thread_feedback_run.
SVN revision: 52573
2010-09-22 09:47:55 +00:00
Mike Blumenkrantz 786e2bd7e4 ecore_main_fd_handler_active_get -> Eina_Bool
SVN revision: 52528
2010-09-21 02:06:41 +00:00
Lucas De Marchi be1b6d32ef Fix common misspellings
Following misspellings were fixed:

alledgedly->allegedly
cant->can't
carefull->careful
consistant->consistent
currenly->currently
dependancy->dependency
descripters->descriptors
doesnt->doesn't
dosen't->doesn't
existant->existent
exmaple->example
inbetween->between
independant->independent
isnt->isn't
mroe->more
neccessary->necessary
occured->occurred
occurence->occurrence
parrallel->parallel
particualr->particular
preceeding->preceding
recieved->received
recieves->receives
seperate->separate
substraction->subtraction
succesfully->successfully
successfull->successful
sucess->success
supress->suppress
usefull->useful
witht->with



SVN revision: 51986
2010-09-08 11:23:42 +00:00
Mike Blumenkrantz 236d58f0de ecore_thread_pool -> ecore_thread_local
SVN revision: 51272
2010-08-18 08:56:44 +00:00
Carsten Haitzler e286f48745 and now ecore is 1.0.0 ready too.
SVN revision: 51165
2010-08-16 08:17:24 +00:00
Mike Blumenkrantz a475971aaa convert all function pointers to typedefs, add doxy stubs for typedefs.
note: I've chosen to consolidate typedefs where possible to simplify things

my time is limited this week, so feel free to expand on the doxy stubs I've added if you know what they do


SVN revision: 50803
2010-08-04 02:55:20 +00:00
Mike Blumenkrantz 122ec75b01 return void* for data functions; depend on user not to be stupid (hahahahahah)
fix doxy to display correctly and be accurate once again
TODO: add functions to rwlock global data while threads are modifying it?


SVN revision: 50692
2010-07-30 20:33:32 +00:00
Mike Blumenkrantz d25cc594f9 remove ecore_thread_pool_data_wait, make thread data struct private again, return void* on _set(), fix global_wait to not mutex longer than wait time when no data added
SVN revision: 50687
2010-07-30 15:56:18 +00:00
Mike Blumenkrantz 7c45637e38 add data freeing support to ecore thread data api
TO FUTURE MIKE: you were too tired to update the doxy last night and instead of writing the doxy updates you fell asleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee


SVN revision: 50682
2010-07-30 08:52:18 +00:00
Mike Blumenkrantz d214a77221 rename function typedefs
SVN revision: 50506
2010-07-26 07:19:27 +00:00
Mike Blumenkrantz d5b507adcc add typedefs for ecore thread function types because I'm tired of typing them out
SVN revision: 50499
2010-07-26 04:20:18 +00:00
Mike Blumenkrantz f10870c933 whoops
SVN revision: 50455
2010-07-23 16:40:40 +00:00
Mike Blumenkrantz e488119c47 +ecore_thread_{global,pool}_data_wait, to allow waiting for data in the global or pool data contexts and simulate g_async_queue in a less mutexy fashion
SVN revision: 50454
2010-07-23 16:24:35 +00:00
Mike Blumenkrantz 4436081e5b add threadsafe global data to threads, allowing for communication between threads and other threads and threads and main loop
SVN revision: 50453
2010-07-23 15:33:22 +00:00
Mike Blumenkrantz 9efdf6c9d4 remove unnecessary mutexes, expand pthread self member to short_run threads, make thread pool data work on short_run threads, ecore_thread_pool_data_modify_or_add -> ecore_thread_pool_data_set
SVN revision: 50449
2010-07-23 13:08:38 +00:00
Mike Blumenkrantz c85f521ffa +ecore_thread_pool_data_modify_or_add
SVN revision: 50443
2010-07-23 04:17:41 +00:00
Mike Blumenkrantz 92cd8f2705 api change to ecore_thread_pool_data_add, now has 4th argument "direct" to avoid copying key value if desired
SVN revision: 50442
2010-07-23 03:39:52 +00:00
Mike Blumenkrantz ebd21717c6 +ecore_thread_pool_data_{add,find,del}: start of ecore_thread_pool api. these calls are used from heavy_run to manage data within a thread pool. more to come
SVN revision: 50438
2010-07-22 20:28:34 +00:00
Mike Blumenkrantz 977be45e37 fix some function variables and a cedric-requested rename
SVN revision: 50409
2010-07-21 07:09:51 +00:00
Mike Blumenkrantz 82d7183f47 +ecore_thread_total_get to return total number of pending jobs
SVN revision: 50405
2010-07-21 04:03:40 +00:00
Mike Blumenkrantz 35ca9e3e12 +ecore_thread_max_reset, ecore_thread_avail_get for more thread functionality, also fix formatting
SVN revision: 50399
2010-07-21 02:12:10 +00:00
Mike Blumenkrantz ec1d528178 +ecore_thread_max_{set,get} to return/set the max number of threads ecore will attempt to run simultaneously
SVN revision: 50397
2010-07-21 01:04:28 +00:00
Mike Blumenkrantz 75d478dfac +ecore_thread_active_get, ecore_thread_pending_get, ecore_thread_pending_long_get to retrieve number of threads present with given status
SVN revision: 50375
2010-07-20 09:40:18 +00:00
Cedric BAIL f424ca1e1e * ecore: for the 50 000 commits, why not adding some docs ?
SVN revision: 50000
2010-07-02 16:01:21 +00:00
Cedric BAIL 062f4c3920 * ecore: fix long run thread, now that I have a nice user.
SVN revision: 49994
2010-07-02 11:15:20 +00:00
Cedric BAIL d1fcb71f84 * ecore: add ecore_long_run facility with notify to main loop.
SVN revision: 49948
2010-06-30 13:25:28 +00:00
Cedric BAIL fbe9064310 * ecore: Ecore callback really should return Eina_Bool.
SVN revision: 49829
2010-06-24 16:15:56 +00:00
Cedric BAIL 238b9836ca * ecore: return Eina_Bool instead of int when it make sense.
Patch from Nicolas Aguirre.


SVN revision: 49611
2010-06-10 11:57:12 +00:00
Carsten Haitzler 78fd14d116 more extern c outside typedefs etc.
SVN revision: 49273
2010-05-29 06:37:02 +00:00
Carsten Haitzler 17263ea263 add ecore versioning
SVN revision: 49271
2010-05-29 06:28:25 +00:00
Mike Blumenkrantz d55e116a4e added functions for changing/getting a poller's poll interval: ecore_poller_poller_interval_(set|get) along with dox for them
surprisingly enough they seem to work!


SVN revision: 49002
2010-05-19 09:16:37 +00:00
Cedric BAIL 9522f7ab27 * ecore: make it possible to easily freeze/thaw animator.
NOTE: logic could be optimised as in some case we could just stop
	the timer also.


SVN revision: 48580
2010-05-03 16:21:39 +00:00
Vincent Torri 898768c963 various fixes for vc++. I'll add the Visual Studio projects later
SVN revision: 47758
2010-04-05 08:26:48 +00:00
Carsten Haitzler e8d5b972b4 --enable-glib-integration-always <- option. can be disabled by
ecore_main_loop_glib_always_integrate_disable() before ecore_init()



SVN revision: 47360
2010-03-22 03:30:40 +00:00
Vincent Torri 5254d1a02e Windows: Add priority support when a child process is created
and add documentation for that.

SVN revision: 46330
2010-02-20 09:20:04 +00:00
Christopher Michael 5306e3c050 No need to include sys/types twice.
SVN revision: 45954
2010-02-06 22:14:32 +00:00
Sebastian Dransfeld 75f4ccbbe5 More ecore_data to separate lib
SVN revision: 45782
2010-02-01 20:20:06 +00:00
Cedric BAIL 44193541f7 * ecore: Move ecore_job inside ecore.
Patch from Albin "Lutin" Tonnerre <albin.tonnerre@gmail.com>.


SVN revision: 45570
2010-01-25 21:59:21 +00:00
Vincent Torri c3dc62306f * fix Windows port of ecore_exe wrt to latest changes
* formatting


SVN revision: 44917
2010-01-06 06:56:23 +00:00
Gustavo Sverzut Barbieri 65a53edd34 Ecore_Exe improvements.
* add const to getters.

  * add ecore_exe_callback_pre_free_set(), enabling bindings to free
    their resources once the handle is destroyed.

  * fix some possible segv from not checking magic

  * check conditions before ecore_exe_send() does its work



SVN revision: 44916
2010-01-06 05:16:59 +00:00
Vincent Torri a4b0afb1e4 * move structures from ecore_private.h to the corresponding source files
* add 2 internal ecore_exe functions as ecore_signak.c uses Ecore_Exe members
   no test is done in those 2 functions
 * remove standard headers from ecore_private.h



SVN revision: 44862
2010-01-03 21:55:50 +00:00
Sebastian Dransfeld 0a9456ccf7 Remove duplication from ecore headers
Clean up Ecore.h and ecore_private.h

SVN revision: 44664
2009-12-22 21:15:12 +00:00
Carsten Haitzler 799b9b0fac asparagus - finally
SVN revision: 44113
2009-12-02 07:22:35 +00:00
Rafael Antognolli 22e44c2b3b ecore_exe_send: Someone probably missed the const.
SVN revision: 44091
2009-12-01 13:33:05 +00:00
Vincent Torri f4e1c3a9b9 * add a _del function for win32 HANDLEs
* delete HANDLES when asked
 * minor fixes in the win32 code

SVN revision: 43939
2009-11-23 23:09:48 +00:00
Vincent Torri 520c12f976 * ecore_exe_win32: manage ADD and DEL events. It works more or
less, but that Windows stuff is a bit like voodoo magic
 * Ecore.h : we can use the Ecore_Exe events on Windows, now (at
   least ADD and DEL, but the others will follow)

SVN revision: 43549
2009-11-08 22:19:30 +00:00
Vincent Torri c13cc572f4 fix compilation on BSD systems
SVN revision: 43515
2009-11-07 19:10:08 +00:00
Cedric BAIL 6310f0ef55 * ecore_thread: Add possibility to cancel Ecore_Thread.
WARNING: THIS BREAK API AND ABI !!!


SVN revision: 43501
2009-11-06 22:15:04 +00:00
Vincent Torri b513258cb1 fd_set is also in sys/select.h on OpenBSD
SVN revision: 43269
2009-10-25 14:48:12 +00:00
Carsten Haitzler 06b3646593 fix build!
SVN revision: 43260
2009-10-25 10:11:59 +00:00