Add:core: event_call_callback infrastructure|
authorzaxl <zaxl@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Fri, 7 Nov 2008 12:29:44 +0000 (12:29 +0000)
committerzaxl <zaxl@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Fri, 7 Nov 2008 12:29:44 +0000 (12:29 +0000)
commit30b7152bb52a4f8ecf2ca9a0fdf688ab130cc546
tree1152dec37b16452a5d74387e9ae6b7e0f904a078
parent0c43b5436ba4cc8bd5a886a13f4873df4963ed05
Add:core: event_call_callback infrastructure|
To be used from threads that want to call the callback
from the main(gui) thread. Users must provide
synhronization of the callback data.
Difference with using timeouts are:
Threads can have own timers
Timer events are low priority, this must be called ASAP.

git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@1674 ffa7fe5e-494d-0410-b361-a75ebd5db220
navit/navit/event.c
navit/navit/event.h
navit/navit/event_glib.c
navit/navit/graphics/qt_qpainter/graphics_qt_qpainter.cpp
navit/navit/graphics/win32/graphics_win32.c