History log of /external/mesa3d/src/gallium/auxiliary/os/os_thread.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0ad0bc5af5679c1ea669a768449bec3fd67fdd74 05-May-2012 Baldo Davide <baldosoft@gmail.com> auxiliary/os: Add missing signal.h include.

The signal.h include was missed in the commit
bc16c73407d11bb6702cf7de9925bfaeb80a5272 which leads to broken
compilations under Linux.

Signed-off-by: José Fonseca <jose.r.fonseca@gmail.com>
/external/mesa3d/src/gallium/auxiliary/os/os_thread.h
9e4c8ce3bc2c68d6397de1b48ce300ee6826e759 27-Dec-2011 Alexander von Gluck <kallisti5@unixzen.com> gallium: use Mesa pthread_barrier_t on Haiku, as it is incomplete under Haiku

Reviewed-by: Brian Paul <brianp@vmare.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/os/os_thread.h
cd893ccba9b7e4bafbdbbb71f79d1b40bcef01a8 04-Aug-2011 Chia-I Wu <olvaffe@gmail.com> gallium: add PIPE_OS_ANDROID support

Android uses Linux kernel and its own C runtime. It resembles
PIPE_OS_LINUX a lot with some minor exceptions.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/os/os_thread.h
41750107496858a047afa8d81d20fe903f285a78 17-Jun-2011 José Fonseca <jfonseca@vmware.com> scons: make embedding orthogonal to the platform

To enable embedding in platforms other than linux.
/external/mesa3d/src/gallium/auxiliary/os/os_thread.h
bc16c73407d11bb6702cf7de9925bfaeb80a5272 15-May-2011 Dave Airlie <airlied@redhat.com> gallium: block signals for new thread when spawning threads

I'm hard pressed to think of any reason a gallium thread would want to
receive a signal, especially considering its probably loaded as a library
and you don't want the threads interfering with the main threads signal
handling.

This solves a problem loading llvmpipe into the X server for AIGLX,
where the X server relies on the SIGIO signal going to the main thread,
but once llvmpipe loads the SIGIO can end up in any of its threads.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/auxiliary/os/os_thread.h
db6d0d9ebf20bfc16ebabd3ff9e8f560ac306210 06-Mar-2011 José Fonseca <jose.r.fonseca@gmail.com> os: Fix pipe_static_mutex on Windows.
/external/mesa3d/src/gallium/auxiliary/os/os_thread.h
209009d75f88d25e2185b46ac9279a372d9a554c 03-Jul-2010 nobled <nobled@dreamwidth.org> os: remove gratuitous pipe_barrier placeholder code

There's already an implementation of pipe_barrier using
the other pipe_* primitives; just use that on Windows, too.

Now Windows passes pipe_barrier_test.
/external/mesa3d/src/gallium/auxiliary/os/os_thread.h
7ce9a3adc5832a4bdcf778ca8ebccfdd029fc180 03-Jul-2010 nobled <nobled@dreamwidth.org> os, rbug: remove PIPE_THREAD_HAVE_CONDVAR

The new default implementation of pipe_condvar makes it
unnecessary.
/external/mesa3d/src/gallium/auxiliary/os/os_thread.h
f321d5c38ae704a6cb2252c7a78a69c367db00fc 03-Jul-2010 nobled <nobled@dreamwidth.org> os: Implement pipe_condvar on Windows Vista and later

Unfortunately compiling with these defines enabled would mean
Gallium can't run on Windows XP/2003 or older.

Todo: Need a macro to declare if we don't care about WinXP
compatibililty.
/external/mesa3d/src/gallium/auxiliary/os/os_thread.h
9795a60a8f5e089d628abcb117c3e8d4c313589c 03-Jul-2010 nobled <nobled@dreamwidth.org> os: Implement pipe_condvar on win32

Or at least a little of it. This version will sleep
for a fixed amount of time instead of just deadlocking,
which is a slight improvement.

Also do the same thing on any unrecognized platform.
/external/mesa3d/src/gallium/auxiliary/os/os_thread.h
1775829f8c30625d86db127aa2de6951ec44d278 13-May-2010 Vinson Lee <vlee@vmware.com> gallium: Add tokens for Cygwin.
/external/mesa3d/src/gallium/auxiliary/os/os_thread.h
31db310be489e1fc83fa3f72366e2e5fdd2a00e7 26-Apr-2010 Vinson Lee <vlee@vmware.com> os: Check for spurious wakeups in pipe_barrier_wait.

The POSIX function pthread_cond_wait can have spurious wakeups when
waiting on a condition variable.

Add a 64-bit counter that is incremented whenever the barrier becomes
full. A woken thread checks the counter. If the counter has not changed
then it has been spuriously woken and goes back to sleep. If the counter
has changed then it was properly signaled and exits the barrier.

Tested on Mac OS X.

This patch was based on ideas from Luca Barbieri.
/external/mesa3d/src/gallium/auxiliary/os/os_thread.h
35aae6839e7bf29e602f6bf9e8730cc62d83f8cd 17-Apr-2010 Vinson Lee <vlee@vmware.com> os: Implement pipe_barrier for POSIX platforms without pthread_barrier_t.

This patch was tested on Mac OS X.
/external/mesa3d/src/gallium/auxiliary/os/os_thread.h
730cd1baaa301dbdff60ce2867c920d3b52b2111 10-Mar-2010 Kurt Daverman <krd@vmware.com> os: Temporarily use posix thread for embedded too.
/external/mesa3d/src/gallium/auxiliary/os/os_thread.h
8df7e20788d201e6f031249563ba8a82eb4b4715 11-Feb-2010 Vinson Lee <vlee@vmware.com> os: Do not use Pthreads barrier functions on Mac OS X.

Pthreads barrier functions are not available on some POSIX platforms.
/external/mesa3d/src/gallium/auxiliary/os/os_thread.h
e95e5caee6fac27d96a75a467318c3d650469f85 05-Feb-2010 José Fonseca <jfonseca@vmware.com> os: Don't assert on missing implementation of barrier init/destroy. Just usage.
/external/mesa3d/src/gallium/auxiliary/os/os_thread.h
a1af8eec66c5f7ec421e8011b41c1a7c36319f9f 05-Feb-2010 José Fonseca <jfonseca@vmware.com> Merge remote branch 'origin/lp-binning'

Conflicts:
src/gallium/auxiliary/util/u_dl.c
src/gallium/auxiliary/util/u_time.h
src/gallium/drivers/llvmpipe/lp_state_derived.c
src/gallium/drivers/llvmpipe/lp_state_surface.c
src/gallium/drivers/llvmpipe/lp_tex_cache.c
src/gallium/drivers/llvmpipe/lp_tile_cache.c
1207098deefb83559ba275e89f2bd154a65d21ca 04-Feb-2010 José Fonseca <jfonseca@vmware.com> os: Add missing dummy threading definitions.
/external/mesa3d/src/gallium/auxiliary/os/os_thread.h
2aaca1df9df6980ec88180c8866c8987b31db91a 02-Feb-2010 José Fonseca <jfonseca@vmware.com> gallium: Move p_thread.h and p_atomic.h out of gallium interfaces.

Into os/os_thread.h and util/u_atomic.h respectively.
/external/mesa3d/src/gallium/auxiliary/os/os_thread.h