Small fix to documentation (Lua example)

git-svn-id: https://svn.code.sf.net/p/aqualung/code/trunk@1284 3cd24cdc-1f22-0410-b8b1-dcf80e670293
Lua track_change hook called from the proper place (regardless of whether file has metadata)

git-svn-id: https://svn.code.sf.net/p/aqualung/code/trunk@1285 3cd24cdc-1f22-0410-b8b1-dcf80e670293
threading: separate threads abstraction from common.h

Move all the thread abstraction macros out of common.h and into
athread.h.  Make sure athread.h is included everywhere that the
abstractions are used, and make sure common.h is only included
anywhere the remaining definitions in it are used.

git-svn-id: https://svn.code.sf.net/p/aqualung/code/trunk@1286 3cd24cdc-1f22-0410-b8b1-dcf80e670293
threading: check for HAVE_LIBPTHREAD instead of _WIN32

The logic for if we use pthreads or gthread-2.0 remains the same as
it was, however, with this change, it's now easier to control as the
test is decoupled from the _WIN32 defintion.

git-svn-id: https://svn.code.sf.net/p/aqualung/code/trunk@1287 3cd24cdc-1f22-0410-b8b1-dcf80e670293
threading: move set_thread_priority() to athread.c

git-svn-id: https://svn.code.sf.net/p/aqualung/code/trunk@1288 3cd24cdc-1f22-0410-b8b1-dcf80e670293
threading: refactor priority scheduling w/pthreads

Instead of PTHREAD_(MIN|MAX)_PRIORITY macros, use the
sched_get_priority_(min|max) functions, and ensure a sane priority
transition if no priority is given by the user.  Also use glib message
logging routines and string utility functions instead of stdio and
string.h as they're UTF-8 friendly and generally nicer.

git-svn-id: https://svn.code.sf.net/p/aqualung/code/trunk@1289 3cd24cdc-1f22-0410-b8b1-dcf80e670293
Refactor 'About' dialog box code generating compiled-in feature list (pulled from Jamie Heilman)

git-svn-id: https://svn.code.sf.net/p/aqualung/code/trunk@1290 3cd24cdc-1f22-0410-b8b1-dcf80e670293