Re: [Vala] Serial port help + posix + signals



* Matías De la Puente <mfpuente ar gmail com> wrote:
Regarding SIGNALS, I would like to know how to implement POSIX signals,
especially SIGIO, to be used as delegates. This is necessary for
asynchronous communication of a microcontroller connected to the serial
port.

I know how tempting it might be to use SIGIO, stay away from it. SIGIO
is one of these things in POSIX that was added because someone was
bored. There are other tools to implement these things (see sys/select.h
and aio.h).

-- 
 Ed Schouten <ed 80386 nl>
 WWW: http://80386.nl/

Attachment: pgpXVZ8aNN8SJ.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]