Virtualize it. Give every thread a scheduling
mechanism. When
activated, let any thread do nothing but writing his job > into
a
queue. Let a master thread work himself through the queue.
Yeah, I think that's the way to do it. You have to have at least one
thread, and that thread becomes the 'main' thread, which carries the
cookies, the edit token and the right to edit Wikipedia. Its Wikipedia
access rate can be throttled as necessary. Any other threads are just
sensory, and pass their data to a job queue for the main thread.
Richard