os: Don't assert on missing implementation of barrier init/destroy. Just usage.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 5 Feb 2010 13:54:21 +0000 (13:54 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 5 Feb 2010 13:54:21 +0000 (13:54 +0000)
src/gallium/auxiliary/os/os_thread.h

index 24a2309..8ae9030 100644 (file)
@@ -215,12 +215,10 @@ typedef unsigned pipe_barrier;
 static INLINE void pipe_barrier_init(pipe_barrier *barrier, unsigned count)
 {
    /* XXX we could implement barriers with a mutex and condition var */
-   assert(0);
 }
 
 static INLINE void pipe_barrier_destroy(pipe_barrier *barrier)
 {
-   assert(0);
 }
 
 static INLINE void pipe_barrier_wait(pipe_barrier *barrier)