HP3000-L Archives

March 2000, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Bill Reynolds <[log in to unmask]>
Reply To:
Bill Reynolds <[log in to unmask]>
Date:
Thu, 9 Mar 2000 21:50:55 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (13 lines)
Hello Fellow 3000'ers,
   I am trying to implement a user interrupt programmatically in a client
server environment.  I couldn't get the posix kill() to work as I
could/would've kill( mychildpid, SIGINT), but it always returns -1.
   Alternatively, I was wondering if the only other reasonable approach is
to implement a software interrupt where the child process receives a nowait
i/o pending interrupt generated by the parent and then subsequently the
child process calls raise(SIGINT) to cause user interrupt to be issued to
lower level service doing *supposedly* erroneous processing.
   Does this sound reasonable, or is there another better/simpler approach?
   Any advice would be appreciated.
   Thanks, Bill

ATOM RSS1 RSS2