$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [Asio] Need help making a custom service
From: Kyle Edwards (kedwards_at_[hidden])
Date: 2015-03-16 09:53:45
On Mon, 2015-03-16 at 14:32 +0100, svante karlsson wrote:
> I'm still curious as to why we would get an interrupt because state
> changes on IO pins (but that has nothing to do with boost). But as I
> said I have been to busy the last week to try it out on a raspberry.
It's hardware-specific. Some (not all) processors have GPIO pins that
double as interrupt pins. If the processor supports it (Raspberry Pi's
BCM2835/2836 does) and it's implemented in the kernel, then you can wait
on interrupts in userspace, like we're doing here.
Kyle