From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,50b338b69088ffa3 X-Google-Attributes: gid103376,public From: Vincent Amiot Subject: Re: Signals from ethernet card driver Date: 1999/05/27 Message-ID: <374D08EF.F4AC6992@aonix.com>#1/1 X-Deja-AN: 482661503 Content-Transfer-Encoding: 7bit Sender: news@sd.aonix.com (USENET News Admin @flash) X-Nntp-Posting-Host: woodstock References: <3728E864.C1BAB081@res.raytheon.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Aonix Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-05-27T00:00:00+00:00 List-Id: askeya wrote: > I am not sure if this is a Solaris or an Ada question so I'll post to > both places. > > I am trying to get a driver to signal my Ada program when a TCP/IP > message arrives over an ethernet on a Sun running Solaris 2.7. It would > be great if the signal would act as a task rendezvous. I have done this > on a VAX with VMS using Starlet, but don't have a clue if it can be done > on a Sun with Solaris. > > First question: can the driver send a signal when a message arrives? On non multithreaded systems SIGIO can generally be generated by an activity on the socket > > > Second question: In theory, can I receive that signal in my program? > See Attach_Handler / Interrupt_Handler pragmas/subprograms > > Third question (if you feel ambitious): In general, how? > as usual: with care & determination! > > Thanx. > -- > --------------------------------------------------- > | Andy Askey | > | Software Engineer | > | Raytheon Systems Company | > | 670 Discovery Drive, Huntsville, AL 35806 | > | Phone: (256) 971-2367 Fax: (256) 971-2306 | > | andrew_j_askey@res.raytheon.com | > ---------------------------------------------------