egl: Add _eglAddAtExitCall.
authorChia-I Wu <olvaffe@gmail.com>
Mon, 10 Aug 2009 09:35:20 +0000 (17:35 +0800)
committerBrian Paul <brianp@vmware.com>
Wed, 12 Aug 2009 04:14:35 +0000 (22:14 -0600)
commit435c7ac24d8d6f8ddae59f4b66983d7642250d1e
tree1ff9c207c6ef065081a28a4844f64d1445c8dae7
parent0e3687e33dd482115c1a0e39c50b424936cb05a6
egl: Add _eglAddAtExitCall.

Add a convenient wrapper to register atexit calls.  Add mutex to
_eglGlobal along the way.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
src/egl/main/eglglobals.c
src/egl/main/eglglobals.h