Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-04-26 | os: Check for spurious wakeups in pipe_barrier_wait. | Vinson Lee | |
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. | |||
2010-04-17 | os: Implement pipe_barrier for POSIX platforms without pthread_barrier_t. | Vinson Lee | |
This patch was tested on Mac OS X. | |||
2010-03-31 | os: Temporarily use posix thread for embedded too. | Kurt Daverman | |
2010-03-15 | gallivm/llvmpipe: rename os_llvm.h to lp_bld.h | Brian Paul | |
The llvm wrapper wasn't really an OS thing. Use lp_bld.h for now but we eventually should rename/re-prefix all the files/functions in the gallivm/ directory. | |||
2010-03-12 | Merge branch '7.8' | Michel Dänzer | |
2010-03-12 | Grammar and spelling fixes | Jeff Smith | |
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2010-03-11 | gallium/os: wrapper for llvm-c/Core.h and #define HAVE_LLVM if needed | Brian Paul | |
2010-02-14 | os: A stream for debug logging. | José Fonseca | |
Just a wrapper around os_log_message. Although it would probably make more sense to be the other way around. Also some comment fixes. | |||
2010-02-14 | os: Add a growable string stream. | José Fonseca | |
2010-02-14 | os: Complement/improve stream inline helpers. | José Fonseca | |
2010-02-14 | os: Fix bad calloc. | José Fonseca | |
2010-02-14 | os: Make streams abstract. | José Fonseca | |
Also replace windows kernel stream with null implementation. It was severely limited and no easy means to test it now. | |||
2010-02-10 | os: Do not use Pthreads barrier functions on Mac OS X. | Vinson Lee | |
Pthreads barrier functions are not available on some POSIX platforms. | |||
2010-02-05 | os: Don't assert on missing implementation of barrier init/destroy. Just usage. | José Fonseca | |
2010-02-05 | Merge remote branch 'origin/lp-binning' | José Fonseca | |
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 | |||
2010-02-04 | auxiliary: util_stream -> os_stream | José Fonseca | |
2010-02-04 | os: Ensure header includes are outside extern "C" {}. | José Fonseca | |
2010-02-04 | os: Time abstractions. | José Fonseca | |
Simplified version of u_time.[ch] | |||
2010-02-04 | os/os_memory_aligned.h: fix memory allocation alignment for 64 bits | José Fonseca | |
Based on Andreia Gaita <shana@jitted.com>'s patch. | |||
2010-02-04 | os: Add missing dummy threading definitions. | José Fonseca | |
2010-02-03 | os: Also add the aligned memory prototypes to the embedded section. | José Fonseca | |
2010-02-03 | os: New OS abstraction module. | José Fonseca | |
2010-02-02 | gallium: Move p_thread.h and p_atomic.h out of gallium interfaces. | José Fonseca | |
Into os/os_thread.h and util/u_atomic.h respectively. |