|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH 1/4] Add module infrastructure to QEMU |
Date: | Tue, 12 May 2009 08:10:58 -0500 |
User-agent: | Thunderbird 2.0.0.21 (X11/20090320) |
Gerd Hoffmann wrote:
On 05/12/09 00:02, Anthony Liguori wrote:Jean-Christophe PLAGNIOL-VILLARD wrote:why not use the constructor priority?We're just using constructors to register our real constructors so priority wouldn't really help us in the gcc constructors.Hmm? Just call the real constructors in the order they are registered by the (prioritized) gcc constructors should do the trick, no?
You don't necessarily want to run all of the constructors at once. Eventually, it would be nice to be generic enough that we could do that but I think it would be a bit difficult today.
cheers, Gerd
-- Regards, Anthony Liguori
[Prev in Thread] | Current Thread | [Next in Thread] |