473,480 Members | 1,975 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Re: dh, the daemon helper

On Nov 1, 8:58 pm, Nate Eldredge <n...@vulcan.lanwrote:
vipps...@gmail.com writes:
On Nov 1, 7:11 pm, Rainer Weikusat <rweiku...@mssgmbh.comwrote:
Since programming initially running as this process is supposed to go
away 'soon' (it's only purpose is to start another program), there is
no point in returning memory to the malloc heap.
You're wrong. IEEE 1003.1, 2004 doesn't guarantee that upon exit of
the program the memory will be freed.

That is true, but I'd be inclined to regard that as a defect in the
standard. The description of _exit() is so explicit about the many
things it frees and destroys that it is hard to imagine the authors
intended to require it to do all that, but not do something as basic as
free the process's memory.
Maybe it's for alignment with the C standard. Ie, describing that file
descriptors are closed is OK because fds themselves are outside the
scope of the C standard (but malloc is not)
Nevertheless, every IEEE-1003.1-compliant, or otherwise Unix-like,
operating system that I have ever encountered does indeed release the
process's memory when it exits, and this behavior is sufficiently
well-known and relied upon that any system that did not would be
regarded as unusable, IMHO. Are you aware of any counterexamples?
Sorry, no. Perhaps someone over in comp.lang.c knows of some, I'm
putting followups there.
Nov 2 '08 #1
5 1342
vi******@gmail.com wrote:
>
.... snip ...
>
Sorry, no. Perhaps someone over in comp.lang.c knows of some,
I'm putting followups there.
You didn't cross-post and set follow-ups. So the originator of the
query will never see your answer, unless you also committed the sin
of multi-posting.

--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.
Nov 2 '08 #2
On Nov 2, 11:09 pm, CBFalconer <cbfalco...@yahoo.comwrote:
vipps...@gmail.com wrote:

... snip ...
Sorry, no. Perhaps someone over in comp.lang.c knows of some,
I'm putting followups there.

You didn't cross-post and set follow-ups. So the originator of the
query will never see your answer, unless you also committed the sin
of multi-posting.
You're possibly right. I don't know how to do that with googles
interface.
I'm sorry for this.
Nov 2 '08 #3
vi******@gmail.com wrote:
On Nov 2, 11:09 pm, CBFalconer <cbfalco...@yahoo.comwrote:
>vipps...@gmail.com wrote:

... snip ...
>>Sorry, no. Perhaps someone over in comp.lang.c knows of some,
I'm putting followups there.
You didn't cross-post and set follow-ups. So the originator of the
query will never see your answer, unless you also committed the sin
of multi-posting.

You're possibly right. I don't know how to do that with googles
interface.
For best results when using Google, I click on the Options link, and
then right-click on the 'Reply' link at the TOP of the message,
selecting the "Open Link in New Window" option - your web-browser may
have a different way of opening the link in a new window.

You can cross post just by adding additional newsgroups to the "To:"
list, separated by commas.
You can change followups by selecting the link labeled "Add followup-to
header" between the To: box and the Cc: box.
Nov 2 '08 #4
vipps...@gmail.com wrote:
CBFalconer <cbfalco...@yahoo.comwrote:
You didn't cross-post and set follow-ups. *So the
originator of the query will never see your answer,
unless you also committed the sin of multi-posting.

You're possibly right. I don't know how to do that
with googles interface.
Same way you would with any other newsreader: enter
comma separated list of newsgroups, and add a followup.

--
Peter
Nov 2 '08 #5
Peter Nilsson wrote:
vipps...@gmail.com wrote:
>CBFalconer <cbfalco...@yahoo.comwrote:
>>You didn't cross-post and set follow-ups. So the
originator of the query will never see your answer,
unless you also committed the sin of multi-posting.
You're possibly right. I don't know how to do that
with googles interface.

Same way you would with any other newsreader: enter
comma separated list of newsgroups, and add a followup.
I use Thunderbird as my main newsreader. I'm not sure whether a comma
delimited list is permitted. I'm using this message as a test by using a
adding ", comp.unix.programmer" to the Newsgroup box at the top of the
form. However, even if that works, the usual way I do it in Thunderbird
is to click on a new header line, select "Newsgroup:" as the header
type, and type in the second group name in the header value field.
That's quite different from the way it's done in Google Groups.
Saying "add a followup" doesn't really address the issue at all - the
issue is how to actually do that. In Google Groups, you have to select a
link titled "Add a followup-to", which adds a new box to the form where
you can fill in multiple group names, separated by commas. In
Thunderbird, for each group you want to add, you click on a new header
line, select "Followup-To:" as the header type, and then type in the
group name.
Nov 3 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
5631
by: Rob Hunter | last post by:
Hi all. I want to run a Python daemon that manages a "to-do" queue. I want it so that the daemon is always running, where its running consists of looking at the queue to see if it has any jobs,...
3
2498
by: bmgx | last post by:
This is what I am trying to find out, instruction on how to create a simple daemon on unix systems(Linux), can't find any info on usual sources..
1
1535
by: Valia | last post by:
hello all, here is something i would like to do, i think this can be done with a daemon or something like named pipe or even a daemon waiting its input from named pipe? do not know. please...
1
2129
by: Bob Swerdlow | last post by:
I've created a Python daemon that starts a bunch of BitTorrent downloader process. Everything is working fine when I start the daemon by hand (logged on as root). I can quit the session and see...
7
4224
by: Michael Ransburg | last post by:
Hi! I have implemented a daemon in C++. It runs all the time, between reboots. Is there a way for other C++ classes to get a reference to the instance of this daemon class in order to call its...
2
3796
by: Steph L | last post by:
Hi, A given Milter program compiles ok on OpenBSD/FreeBSD/Linux but not on Solaris : it uses daemon(3) http://www.openbsd.org/cgi-bin/man.cgi?query=daemon&apropos=0&sektion...
1
1971
by: Stefan Neumann | last post by:
I have written a daemon which should run endlessly. The structure looks like this: - start-stop-daemon forks my python program then: if __name__=="__main__": try: main()
3
4271
by: paul | last post by:
I am writing a daemon process that reads data from the serial port / dev/ttyS0. I am using pyserial & the method for setting up a daemon described in "Chris' Python Page"...
6
3978
by: Johny | last post by:
Is it possible to run a Python program as daemon? Thanks
13
9246
dmjpro
by: dmjpro | last post by:
class MainClass{ public static void main(String a){ //do something } } When i run this class file then JVM is the process having one main thread. Thread ends and process ends. I went...
0
7041
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7081
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6737
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6921
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5336
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4776
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4481
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
179
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.