Question

I'm trying to put something together that when it receives an event, say and HTTP request to apache cgi-bin it would generate a "flag" that another script picks up and execute some code?

another "interrupt" will be a push button where im getting most of the problems, becuase i want to put that in a loop, if I source that script then that sourcing script will halt because of the loop, if i use name pipes it will halt as well waiting for data...

i've been triying named pipes, sourcing scripts and all sorts of things but i dont manage to get something consistent, i was wondering thinking on using other IPC options, like signals, shared memory and thoose kind of things.

to start with does anyone have any experience with this, know any resources and if it's even possible.

Was it helpful?

Solution

I needed to work at a kernel level using Inter-process Communications socket or also known as domain sockets

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top