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 24a2309976a8449f3c3ff53ffa3650bba391b800..8ae90308c53db9b72c95abcb75b1a79a0a8fc417 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)