apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject Re: cvs commit: apr/dso/win32 dso.c
Date Fri, 19 Jan 2001 14:47:45 GMT

>   watch out for a double-unload. one manually from apr_dso_unload(), followed
>   by one through the pool cleanup.
>   1) protect the unload by setting/checking the handle to NULL
>   2) unload "runs" the cleanup to also remove it from the pool cleanup

>        dllhandle  *handle;     /* Handle to the DSO loaded            */
>        int failing_errno;      /* Don't save the buffer returned by
>                                   strerror(); it gets reused          */
>   +    apr_pool_t *pool;

This really belongs at the top of the structure to keep the format the
same for all APR types.


Ryan
_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message