From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel@vger.kernel.org
Subject: Re: a fork-like C-wrapper for clone(), DONE!
Date: 25 Apr 2001 12:15:51 -0700 [thread overview]
Message-ID: <9c77p7$upd$1@cesium.transmeta.com> (raw)
In-Reply-To: <3AE6CD6B.745E@mat.upc.es>
Followup to: <3AE6CD6B.745E@mat.upc.es>
By author: Francesc Oller <francesc@mat.upc.es>
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.
-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
next prev parent reply other threads:[~2001-04-25 19:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-25 13:13 a fork-like C-wrapper for clone(), DONE! Francesc Oller
2001-04-25 19:15 ` H. Peter Anvin [this message]
2001-04-25 19:31 ` H. Peter Anvin
-- strict thread matches above, loose matches on Subject: below --
2001-04-26 12:41 Francesc Oller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='9c77p7$upd$1@cesium.transmeta.com' \
--to=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox