Frederic Bouvier <[EMAIL PROTECTED]> writes:

> There is probably no problem of not doing dlclose at all. Standard 
> process exit routine should do it for us. So we could write :
>
> static void *handle = 0;
> if ( !handle )
>   handle = dlopen();
> fct = dlsym();
> return fct;

or we can call dlopen() on libGL once somewhere at the beginning to
make sure libGL stays loaded in memory even after calling dlclose().

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to