intel: Protect bufmgr objects with a pthread mutex.
authorEric Anholt <eric@anholt.net>
Fri, 13 Jun 2008 06:22:26 +0000 (23:22 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 9 Oct 2008 19:57:09 +0000 (12:57 -0700)
commit3169d9639bd002b43e4064cea32e0d262076c1e0
tree60a825635a24cf2c3e2dfd759126aab7dd330cf2
parent604759d4a78efcef0abdb40bfc215526cdcf1122
intel: Protect bufmgr objects with a pthread mutex.

We want to be able to use the bufmgr from multiple threads for GL, and thus
we need to protect the internal structures.

The pthread-stubs package is used so that programs not linked against
pthreads get weak symbols to stubs and don't eat most of the cost.
configure.ac
libdrm/Makefile.am
libdrm/intel/Makefile.am
libdrm/intel/intel_bufmgr_fake.c
libdrm/intel/intel_bufmgr_gem.c