From: "KERNEL_C@telefonica.net" <KERNEL_C@telefonica.net>
To: linux-kernel@vger.kernel.org
Subject: a question: handling tasks
Date: Tue, 13 Dec 2005 16:29:59 +0100 (MET) [thread overview]
Message-ID: <9108837.1134487799101.JavaMail.root@ctps7> (raw)
Hi,
I'm trying to develop an application through traditional c
language, which is gonna run as a single instance within the system.
Been looking on the internet for singleton (which seems to stand for OO
programming languages, single instance appl, etc.), and also seen
howtos and papers talking about user and kernel modes.
Maybe the right
solution would be to use sempahores and threads, but I get confused
because almost all the doc on this is written for solaris which hasn't
got the same API as pthreads.
The thing is that, in case of the user
trying to execute another instance of the appl. the already running one
could catch the first argument used to call the second instance and
pass it through a function.
I know this is not the right place for
asking this, been looking for weeks, and I haven't found any document
on the internet on how to do somehting like this with linux, and for
sure any of you could bring some light into this.
Kind Regards,
next reply other threads:[~2005-12-13 15:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-13 15:29 KERNEL_C [this message]
2005-12-13 16:02 ` a question: handling tasks Alan Cox
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=9108837.1134487799101.JavaMail.root@ctps7 \
--to=kernel_c@telefonica.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.