Index: trunk/psLib/src/sys/psThread.c
===================================================================
--- trunk/psLib/src/sys/psThread.c	(revision 34153)
+++ trunk/psLib/src/sys/psThread.c	(revision 37050)
@@ -152,4 +152,8 @@
     psThreadJob *job = psListGetAndRemove((psList *) done, PS_LIST_HEAD);
     return job;
+}
+
+psList *psThreadGetPendingQueue () {
+  return (psList *) pending;
 }
 
