how to get the thread

Peter Halacsy <[email protected]> Sun, 27 Jan 2008 18:02:59 +0100
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <[email protected]>
hi,

i'm using ocamlnet to download a lot of pages with a pipeline with the 
size 200. I'd like to open as many files as many thread I use. But in 
the callback function I don't know which thread executes the current codes.

Do you have any suggestions?

peter


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/