On Tuesday 14 January 2003 20:42, you wrote:

I wouldn't run encourage people to run anything this intensive in fred's JVM.

There is a stand alone servlet container 
freenet/client/http/HttpServletRunner.java

I haven't used it in almost a year so it might be broken, but could probably 
be resurrected.

--gj



> > So, I finally got to implenting the streaming meda request servlet into
> fred, which I forgot to bring the patch for it to work with me today (I
> have no wokring internet connection, right now, as well as no laptop, so
> I'm reduced to sneakernet and floppies, and email once per week :-p)
>
> I'll send the files in the next day or so.
>
> Stupid question time:
>
> What is the "correct" way to spwan a thread within fred?  I'm currently
> using Thread t=new Thread(rnnable), which I saw in GJ's splitfile code, but
> I didn't see anywhere else when I grep'd for it, but I could be just blind.
>
That's unmanaged.
> So anyhow, is thgere some way that I need to spawn threads to have the
> thread limiter stuff work, or am I all good?
I don't think apps should be messing with freds thread pool.

>
>       - fish
>
> p.s. (btw, coding in java *without* the java api refrence available - real
> pita)
>
> p.p.s. the irony of hacking on freenet stuff without a network connection
> did not escape the people I live with ;).  the sneakernet idea isn't
> sounding so redicouls to me now :-p

----------------------------------------
Content-Type: application/pgp-signature; charset="us-ascii"; 
name="Attachment: 1"
Content-Transfer-Encoding: 7bit
Content-Description: 
----------------------------------------

_______________________________________________
devl mailing list
devl at freenetproject.org
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to