Re: a fork-like C-wrapper for clone(), DONE!
H. Peter Anvin (firstname.lastname@example.org)
25 Apr 2001 12:15:51 -0700
Followup to: <3AE6CD6B.745E@mat.upc.es>
By author: Francesc Oller <email@example.com>
In newsgroup: linux.dev.kernel
> Hi all,
> Some days before I asked for a fork-like C-wrapper for clone() which
> could be used like fork() thinking that somebody could have done it
> before but I only received two e-mails saying that probably it
> wasn't worth it or even it was complete non-sense.
> Therefore, I've done it myself. Code follows.
> Please, before beginning to flame me for doing "such kind of non-
> standard threading model", I've to say that IMHO it has some merit.
> After all it was E.W.Dijkstra who invented it in the late sixties.
glibc already contains such a wrapper; it is called __clone(). At
least my system has "man clone" show the man page for it.
<firstname.lastname@example.org> at work, <email@example.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/