ossp-pkg/pth/pth.pod 1.163 -> 1.164
--- pth.pod 2004/07/13 10:50:49 1.163
+++ pth.pod 2004/10/08 16:17:02 1.164
@@ -679,6 +679,15 @@
of the internal B<Pth> library state is written to. The main information
which is currently written out is the current state of the thread pool.
+=item C<PTH_CTRL_FAVOURNEW>
+
+This requires a second argument of type `C<int>' which specified whether
+the B<GNU Pth> scheduler favours new threads on startup, i.e., whether
+they are moved from the new queue to the top (argument is C<TRUE>) or
+middle (argument is C<FALSE>) of the ready queue. The default is to
+favour new threads to make sure they do not starve already at startup,
+although this slightly violates the strict priority based scheduling.
+
=back
The function returns C<-1> on error.
|
|