author | Eric Anholt <eric@anholt.net> | |
Fri, 13 Jun 2008 06:22:26 +0000 (23:22 -0700) | ||
committer | Dave Airlie <airlied@linux.ie> | |
Thu, 16 Oct 2008 20:38:57 +0000 (06:38 +1000) | ||
commit | 6df7b0719fe92b718e486c2b87e2f883cfa41efa | |
tree | c0a48d61bf6dd496d2ecaee2adc1eb111f40466e | tree | snapshot (tar.xz tar.gz zip) |
parent | 26076bf24a4e720e389d0a3ea616a8350397fdfc | commit | diff |
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.
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.