path: root/frontends/amiga/schedule.c
Commit message (Collapse)AuthorAgeFilesLines
* Update scheduler logging to use catagoryVincent Sanders2017-09-071-3/+5
* Use coccinelle to change logging macro calls in c filesVincent Sanders2017-09-061-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done @@ expression E; @@ -LOG(E); +NSLOG(netsurf, INFO, E); @@ expression E, E1; @@ -LOG(E, E1); +NSLOG(netsurf, INFO, E, E1); @@ expression E, E1, E2; @@ -LOG(E, E1, E2); +NSLOG(netsurf, INFO, E, E1, E2); @@ expression E, E1, E2, E3; @@ -LOG(E, E1, E2, E3); +NSLOG(netsurf, INFO, E, E1, E2, E3); @@ expression E, E1, E2, E3, E4; @@ -LOG(E, E1, E2, E3, E4); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4); @@ expression E, E1, E2, E3, E4, E5; @@ -LOG(E, E1, E2, E3, E4, E5); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5); @@ expression E, E1, E2, E3, E4, E5, E6; @@ -LOG(E, E1, E2, E3, E4, E5, E6); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6); @@ expression E, E1, E2, E3, E4, E5, E6, E7; @@ -LOG(E, E1, E2, E3, E4, E5, E6, E7); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7);
* Move memory functions from misc.c to memory.cChris Young2016-11-191-1/+1
* Fix OS3 buildChris Young2016-08-111-1/+6
* Remove excessive scheduler debugChris Young2016-08-111-26/+0
* Don't Abort/WaitIO when we've already removed it from the message queue (thx ↵Chris Young2016-08-111-4/+10
| | | | Georg)
* Missing TAG_DONE (thx capehill)Chris Young2016-08-101-0/+1
* Use the API for duplicating IORequestsChris Young2016-08-101-17/+48
| | | | | | Add some more debug: It appears that some timer events are not being picked up, I can see in the log that something which should have been signalled is not being run. Enabling the log appears to make the situation worse.
* Always wait for at least some time, as it's ambiguous as to whether a 0.0s ↵Chris Young2016-08-101-0/+2
| | | | timerequest is valid.
* more debugChris Young2016-08-091-2/+3
* Decouple the scheduler from system timeChris Young2016-08-091-69/+54
| | | | | This is a hang-over from the old polling scheduler. I've modified it to use relative times and pass the callback along with the TimeRequest so events get executed in the order they arrive. The list of events is still in a heap sorted by expected execution time, but this may need to change to something more efficient for random lookups.
* We don't need ReplyMsg here.Chris Young2016-08-091-4/+4
| | | | | TimerRequests are removed from the message queue by WaitIO() which is ultimately called when the event is taken off the heap. The event on the top of the heap is _not necessarily_ the one which signalled us, though, and we should probably be handling this better.
* Scheduler debug loggingChris Young2016-08-091-4/+11
* tidy-upChris Young2016-07-091-4/+4
* move frontends into sub directoryVincent Sanders2016-05-151-0/+353