comp.lang.ada
 help / color / mirror / Atom feed
From: Vincent Amiot <vamiot@aonix.com>
Subject: Re: Signals from ethernet card driver
Date: 1999/05/27
Date: 1999-05-27T00:00:00+00:00	[thread overview]
Message-ID: <374D08EF.F4AC6992@aonix.com> (raw)
In-Reply-To: 3728E864.C1BAB081@res.raytheon.com

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          |
> ---------------------------------------------------





      parent reply	other threads:[~1999-05-27  0:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-29  0:00 Signals from ethernet card driver askeya
1999-04-30  0:00 ` Matthew Heaney
1999-05-03  0:00   ` Vincent P. Amiot
1999-05-07  0:00     ` askeya
1999-04-30  0:00 ` Tarjei Tj�stheim Jensen
1999-04-30  0:00 ` askeya
1999-04-30  0:00 ` dennison
1999-04-30  0:00   ` Larry Kilgallen
1999-05-27  0:00 ` Vincent Amiot [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox