some fixes: modified thread synchronization in ags_devout.c
Authored by: weedlight 2012-12-27
Parent: [r715]
Child: [r717]