Re: Using signals as a event driven framework
From: jose luis fernandez diaz (jose_luis_fdez_diaz_news_at_yahoo.es)
Date: 05/03/04
- Next message: Billy N. Patton: "Re: Using signals as a event driven framework"
- Previous message: Karthik: "Re: Data Files"
- In reply to: Nils O. Selåsdal: "Re: Using signals as a event driven framework"
- Next in thread: Nils O. Selåsdal: "Re: Using signals as a event driven framework"
- Reply: Nils O. Selåsdal: "Re: Using signals as a event driven framework"
- Reply: joe_at_invalid.address: "Re: Using signals as a event driven framework"
- Reply: Xenos: "Re: Using signals as a event driven framework"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 3 May 2004 07:27:39 -0700
This solution forces to write a C client program. In this case a
prefer to use a CORBA communication framework. Anyway, is there
another way to comunicate directly from the shell to a background
proccess without a client program ?
Thanks,
Jose Luis.
Nils O. Selåsdal <NOS@Utel.no> wrote in message news:<pan.2004.05.03.09.45.55.700859@Utel.no>...
> On Mon, 03 May 2004 02:37:03 -0700, jose luis fernandez diaz wrote:
>
> > Hi,
> >
> > I have a C program running in background in UNIX. From a shell script
> > I want to notify it some events. The easiest way to do it is through
> > signals, but it is not correct because signal are not a event drivent
> > framework. Can anyone give me other straightforward solution ?
> Signals can du fine, and you can very well make it event driven.
> However signals have ofcourse limitations, you can only use a few of them,
> and it's hard to pass additional data.
> A common approach is to use unix sockets, see e.g. and create a little
> utility that can communicate to the "server" for use in e.g. shell
> scripts.
> see e.g. http://www.ecst.csuchico.edu/~beej/guide/ipc/usock.html
- Next message: Billy N. Patton: "Re: Using signals as a event driven framework"
- Previous message: Karthik: "Re: Data Files"
- In reply to: Nils O. Selåsdal: "Re: Using signals as a event driven framework"
- Next in thread: Nils O. Selåsdal: "Re: Using signals as a event driven framework"
- Reply: Nils O. Selåsdal: "Re: Using signals as a event driven framework"
- Reply: joe_at_invalid.address: "Re: Using signals as a event driven framework"
- Reply: Xenos: "Re: Using signals as a event driven framework"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|