summaryrefslogtreecommitdiff
path: root/amiga/schedule.c
Commit message (Collapse)AuthorAgeFilesLines
* More OS3 compilation fixesChris Young2015-01-181-2/+6
|
* Avoid confusing double-negativesChris Young2015-01-131-8/+8
|
* fix os4 buildChris Young2015-01-121-26/+28
|
* Don't create processes under OS3, or OS4 for now for testingChris Young2015-01-121-20/+65
|
* Remove unused variableChris Young2014-12-011-2/+0
|
* Clear message port variable so we don't errorneously send messages to it.Chris Young2014-12-011-0/+3
|
* Fix leakChris Young2014-12-011-0/+1
|
* Add some comments about timer.device.Chris Young2014-11-291-2/+2
|
* Ensure we're not running events ahead of time.Chris Young2014-11-221-2/+9
|
* Process scheduled event changes before incoming timer events.Chris Young2014-11-221-10/+11
| | | | This stops things being run that have just been deleted. However, may cause the next event to run early because we don't check the time.
* Reduce stack to 2KChris Young2014-11-221-1/+1
|
* Reply to the timer before running the scheduled task.Chris Young2014-11-221-1/+4
|
* New schedulerChris Young2014-11-221-27/+152
|
* Initial steps for a scheduler processChris Young2014-11-221-14/+119
|
* Remove no longer used poll option from schedule runnerChris Young2014-11-171-14/+2
|
* Call open/close timer from schedule init/free functionsChris Young2014-11-101-26/+27
|
* Remove some code duplication, tidy up and documentationChris Young2014-07-031-49/+68
|
* If we try to duplicate an existing scheduled event, reschedule it instead.Chris Young2014-07-021-12/+37
|
* tidy up schedule removalChris Young2014-07-021-28/+31
|
* fixup missing includes from schedule changesVincent Sanders2014-03-091-1/+4
|
* move scheduleing into browser operation tableVincent Sanders2014-03-091-74/+86
|
* Replace AllocVec with AllocVecTags. Remove some instances of MEMF_CLEAR ↵Chris Young2013-10-121-2/+2
| | | | where it is not necessary.
* Avoid crashing on NULL schedule_listChris Young2011-03-131-0/+2
| | | | svn path=/trunk/netsurf/; revision=12040
* Move schedule.h to utils/John Mark Bell2011-03-131-1/+1
| | | | svn path=/trunk/netsurf/; revision=12039
* Don't crash if removing events when we have no listChris Young2011-03-131-0/+2
| | | | svn path=/trunk/netsurf/; revision=12035
* Empty the schedule list before freeing and closing resourcesChris Young2011-03-131-1/+21
| | | | svn path=/trunk/netsurf/; revision=12034
* Add missing includes; Don't mix TimeVal definitionsChris Young2011-03-131-2/+5
| | | | svn path=/trunk/netsurf/; revision=12032
* Shunt the schedule function definitions to desktop/schedule.h. Shunt the ↵Daniel Silverstone2011-03-131-1/+1
| | | | | | hlcache/llcache to using schedule to get their cleanups run. svn path=/trunk/netsurf/; revision=12029
* Less ridiculous time calculationChris Young2011-02-261-7/+4
| | | | svn path=/trunk/netsurf/; revision=11826
* Move timer.device stuff to schedule.cChris Young2011-02-191-1/+31
| | | | svn path=/trunk/netsurf/; revision=11712
* Modify scheduler to use a binary heap (using libpbl).Chris Young2011-02-161-54/+75
| | | | | | | | | | | | | Scheduled events are now in event time order, so schedule_run simply takes the top event off the heap and runs it (if we're polling, rather than having received a signal that the next event is due to be run, we check first that we have passed the scheduled time). This should provide performance benefits as we are no longer trawling the entire list of scheduled events (potentially hundreds) every time an event is signalled or the schedule list is polled. svn path=/trunk/netsurf/; revision=11703
* Fix some long-standing issues with events not getting captured, make sure theChris Young2011-02-091-5/+4
| | | | | | timer.device version of the scheduler is working and make it the default. svn path=/trunk/netsurf/; revision=11637
* First pass of AmigaOS 3 compatibilityJohn Mark Bell2010-12-301-0/+1
| | | | svn path=/trunk/netsurf/; revision=11155
* Change schedule_run to a BOOL as this more standard for platform code.Chris Young2010-04-291-1/+1
| | | | svn path=/trunk/netsurf/; revision=10516
* Ensure ami_remove_timer_event code doesn't get executed unless necessary.Chris Young2010-04-281-0/+2
| | | | svn path=/trunk/netsurf/; revision=10509
* Revert previous change, causing instability.Chris Young2009-10-161-2/+2
| | | | svn path=/trunk/netsurf/; revision=9649
* Fix-up the timer.device scheduler and reinstate it as default. ↵Chris Young2009-10-151-4/+4
| | | | | | | | | Unfortunately this doesn't remove the need for INTUITICKS messages as we still need to break out for page reflow (which doesn't use the scheduler), but it should make animations more accurate. svn path=/trunk/netsurf/; revision=9648
* make schedule_run return if it has active jobs to scheduleVincent Sanders2009-02-111-2/+4
| | | | svn path=/trunk/netsurf/; revision=6447
* Update for new SDKChris Young2008-12-201-8/+8
| | | | svn path=/trunk/netsurf/; revision=5915
* Minor fixes, changing some defaults to safer values, screen_modeid should ↵Chris Young2008-11-031-3/+5
| | | | | | | | | | now work. Added screen_depth to stop it complaining when trying to BestModeID() a 32-bit screen on a system that doesn't have one. svn path=/trunk/netsurf/; revision=5650
* Change memory allocations to MEMF_PRIVATE to enable paging on OS4.1.Chris Young2008-11-021-6/+5
| | | | svn path=/trunk/netsurf/; revision=5649
* List traversing tidy-up.Chris Young2008-10-061-10/+10
| | | | svn path=/trunk/netsurf/; revision=5499
* Disabled the new scheduler by default as it is more unstable than I thought :(Chris Young2008-09-091-10/+18
| | | | | | Defining AMI_SCHEDULER_USES_TIMER will enable it again. svn path=/trunk/netsurf/; revision=5291
* Scheduled events now signal when the scheduled time has passed.Chris Young2008-09-081-2/+33
| | | | | | The timer appears to stop signalling events occasionally - needs some investigation. svn path=/trunk/netsurf/; revision=5287
* Reversed order of running a callback and removing it from the schedule list, ↵Chris Young2008-08-171-13/+3
| | | | | | | | this resolves a serious system freeze especially prevalent on XOOPS-based websites. svn path=/trunk/netsurf/; revision=5137
* Fully implemented schedule, schedule_run and schedule_remove.Chris Young2008-08-031-1/+104
| | | | svn path=/trunk/netsurf/; revision=4875
* Initial Amiga port files, mostly empty stub functions.Chris Young2008-08-021-0/+32
svn path=/trunk/netsurf/; revision=4864