[Date Prev][Date Next] [Chronological] [Thread] [Top]

need to read an entry from the db after reading config file

I'd like to store some config info in the database, with a directive in the config file indicating where to look for that config info. So, I need to search for the entry containing that data after read_config() finishes, but before the server finishes starting up. The problems I'm having are

1) I'd like to do this search synchronously if possible since I really don't want the server to start answering queries until after I'm done doing this

2) all of the search functions seem to require an Operation* and this is not happening as part of some other operation. is there a designated ctx and/or Operation* already available for doing this type of thing?

Is there somewhere in the code where a lookup is being done synchronously and not as part of some larger user-requested Operation* ?


Forest Hill
Apple Computer, Inc.