On Thu, Oct 23, 2003 at 05:24:07PM -0400, MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1) wrote: > Hi, > I was wondering if there's any interest in having a option to make > the apr_thread_rwlock to support GLOBAL rwlocks. Currently, > apr_thread_rwlock exhibits the default pthread behaviour - to be process > specific. Since the pthread library gives an option to make it global, can > we add it to APR too ?
Since the apr_thread_* routines are for syncing between threads, this shouldn't be called apr_thread_rwlock. Naming it apr_global_rwlock_t is probably more appropriate. Also, for the Windows gurus -- is this concept portable? Do we need to make the interface more general to make sure it will work on Windows and other platforms, or will it work as it is? -aaron
