I've dug through HttpChannel, etc and I see that I don't need most of
what it is implementing.  And after thinking about it for a while it
doesn't look that complex to build a single user proxy server from new
code. I'll still use HttpChannel to get pages from the remote servers.

So how do I get threading to work? I have three threads active: UI, IO
and timer. I am creating my objects on the UI thread which triggers
the non-thread safe assertion when I use them from the server thread.
How do I create my objects on the server thread? They are completely
asynchronous so blocking is not a problem. I only ever want to use
them from the server thread. Is there an initialization callout from
the server thread that I can use to build my first objects?

--
Jon Smirl
[EMAIL PROTECTED]
_______________________________________________
dev-tech-network mailing list
dev-tech-network@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to