summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-08-09 19:00:52 (GMT)
committer Chris Young <chris@unsatisfactorysoftware.co.uk>2016-08-09 19:00:52 (GMT)
commitcd488602073a1775c41a60d582854feec63cb676 (patch)
treee896506a53f8a366f68b6e03a1dc4a3038e98b5e
parent1ca5b7332c2b10b671e6844b79ed58d50337ce52 (diff)
downloadnetsurf-cd488602073a1775c41a60d582854feec63cb676.tar.gz
netsurf-cd488602073a1775c41a60d582854feec63cb676.tar.bz2
more debug
-rw-r--r--frontends/amiga/schedule.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/frontends/amiga/schedule.c b/frontends/amiga/schedule.c
index eaa307a..3cbad0d 100644
--- a/frontends/amiga/schedule.c
+++ b/frontends/amiga/schedule.c
@@ -301,7 +301,7 @@ nserror ami_schedule(int t, void (*callback)(void *p), void *p)
{
struct nscallback *nscb;
- LOG("Scheduling callback %p with arg %p", callback, p);
+ LOG("Scheduling callback %p with arg %p at time %d", callback, p, t);
if(schedule_list == NULL) return NSERROR_INIT_FAILED;
if(t < 0) return schedule_remove(callback, p);
@@ -313,7 +313,7 @@ nserror ami_schedule(int t, void (*callback)(void *p), void *p)
nscb = ami_misc_itempool_alloc(pool_nscb, sizeof(struct nscallback));
if(!nscb) return NSERROR_NOMEM;
- LOG("new nscb");
+ LOG("new nscb %p", nscb);
*nscb = *tioreq;
@@ -338,6 +338,7 @@ void ami_schedule_handle(struct MsgPort *nsmsgport)
struct nscallback *timermsg;
while((timermsg = (struct nscallback *)GetMsg(nsmsgport))) {
+ LOG("timermsg %p", timermsg);
LOG("timereq err = %d (should be 0)", timermsg->timereq.Request.io_Error);
ami_scheduler_run(timermsg);
}