Just to make it clear: I assume we are discussing multitasking, not multithreading. And so you have to decide the classic multitasking decisions.
-- Johannes Ponader 0162/94 64 94 0
Am 22.03.2011 um 15:06 schrieb richardcavell@mail.com:
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
Wikibots-l mailing list Wikibots-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibots-l