[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: dso alternative

From: Ben Collins-Sussman <sussman_at_newton.collab.net>
Date: 2000-12-13 23:14:28 CET

Greg Stein <gstein@lyra.org> writes:

> Calling apr_dso_load() multiple times, within a process, for the same DSO
> should be quite fine.

OK, then I should keep things as simple as possible.

I'm going to have a function which takes a URL as input, and returns a
vtable from a RA DSO load. A single process might call this function
over and over -- that's okay, according to what you say above. (When
a process reloads the same DSO over and over, the OS gives it the same
pointer each time, right?)

So forget threads. I was only worried about writing "threadsafe"
code. But now that I won't have any global variables, the issue is
moot. There's no need for a global hash of loaded dso's.
Received on Sat Oct 21 14:36:17 2006

This is an archived mail posted to the Subversion Dev mailing list.