[fpc-pascal]Clone vs. pthreads
Michael Van Canneyt
michael.vancanneyt at wisa.be
Wed Jan 17 10:52:43 CET 2001
On Wed, 17 Jan 2001, FPC Mail list reader wrote:
>
> Hello.
>
> Someone replied to a question about writing tcp servers, and said that
> Linux's Clone() isn't fit for writing a crash-safe server or something
> like that. Well what I want to ask is why(besides, I guess, the lack of
> portability to FreeBSD) and if there is a unit for fpc that translates
> pthreads to fpc.
I see no reason why clone() wouldn't be the way to do threads ?
pthreads itself probably uses this function to implement threads.
That said: No there is no unit (yet) that implements a pthreads
interface.
Michael.
More information about the fpc-pascal
mailing list