[fpc-pascal]Thread + Inet
Marco van de Voort
marcov at stack.nl
Thu Jan 4 23:31:33 CET 2001
> > > --[cut]--
> > > There is a very basic implementation of the TThread class available in the
> > > FCL. Maybe it's enough for your program to run the socket functions with.
> > > But be carefull with other things as the RTL itself isn't multithreaded
> > > aware yet.
> >
> > And neither are syscalls. So even if you try to use the unit Unix/Linux
> > directly, it won't work.
>
> Just a brainwave -- how about forking and using interprocess signals? I
> guess you couldn't send a lot of data back and forth between the
> instances, so you would need to come up with a way to publish addresses to
> unprotected memory areas. Too far fetched?
Yes. I think the language helpers are the biggest problem. Ordinary
functions at least, you can protect with mutexes.
More information about the fpc-pascal
mailing list