From 6bced73998312f7ddb68f5d572fef2214ddbe4f4 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Wed, 16 Feb 2011 21:29:39 +0000 Subject: Modify scheduler to use a binary heap (using libpbl). 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 --- amiga/Makefile.target | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'amiga/Makefile.target') diff --git a/amiga/Makefile.target b/amiga/Makefile.target index 4d7022e19..8b49f204e 100644 --- a/amiga/Makefile.target +++ b/amiga/Makefile.target @@ -22,7 +22,7 @@ ifeq ($(HOST),amiga) $(eval $(call feature_enabled,AMIGA_ICON,-DWITH_AMIGA_ICON,,Amiga icon )) CFLAGS += -D__USE_INLINE__ -D__USE_BASETYPE__ -I /SDK/local/common/include/libpng12 - LDFLAGS += -lxml2 -lcurl -lrtmp -lpthread -lregex -lauto + LDFLAGS += -lxml2 -lcurl -lrtmp -lpthread -lregex -lauto -lpbl LDFLAGS += -lssl -lcrypto -lhubbub -lcss -lparserutils -lwapcaplet -liconv ifeq ($(NETSURF_AMIGA_USE_CAIRO),YES) -- cgit v1.2.3