[gst-devel] [PATCH] SMP race condition in gstatomic.h

David Schleef ds at schleef.org
Thu Sep 5 15:24:06 CEST 2002


On Thu, Sep 05, 2002 at 12:03:36PM -0400, David I. Lehn wrote:
> Good catch.  However, I'm not sure CONFIG_SMP is portable enough between
> *BSDs and Linux and Hurd and win32 and whatever else this code might run
> on.  Perhaps we need a configure check of some sort that we can force
> things to build for SMP.

Multithreaded code should _always_ be compiled so that it is
multi-processor-safe.  If there are performance issues, then those
performance issues need to be addressed.



dave...





More information about the gstreamer-devel mailing list