The main purpose of TSRM's resource management is to supply thread-local
resources. The various macros, TSRMLS and all that, are not useful if you
actually need to share a central resource between threads.
There's no real magic in sharing a central resource between threads. You
have to prote
Jeroen,
then i have one more question. The real problem im trying to solve is
the ability to have multiple threads (different requests) access a resource
which may be persistent.
imagine, for instance, that i have a persistent database connection which
matches the login criteria (username, pa