|
Boost : |
Subject: Re: [boost] [linux drivers] Is it possible to use boost in a Linux driver?
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2009-01-13 13:05:56
Sid Sacek wrote:
> Does anybody know if it's possible to use boost within a Linux driver?
>
First you'd have to use C++ in a Linux driver, which is tricky all by
itself.
Humm, I'd say, all in all, no. You definitely don't have unwinding in
kernel mode. This means you must disable exceptions. But the exception
replacement system in Boost calls abort(), I believe, and I don't think
this call links in kernel objects. (I don't want to know what it would do.)
Sebastian
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk