Código abierto

Is __kmp_suspend_initialize_thread race free?

Hi,

I work with just another tool for data race detection. I repeatedly got messages about a data race between the pthread_mutex_init in __kmp_suspend_initialize_thread and the pthread_mutex_lock. After analysis of the situation, I think there is actually a possible race condition.

The only synchronization for the init_mutex I could find was the

if(th->th.th_suspend_init_count > __kmp_fork_count){...}

surrounding it. I think the init_mutex should be guarded like:

MVarandas Soluções em Tecnologia escolhe Crosswalk como fundação de seus aplicativos HTML5 para Android

Usado em vários restaurantes como única forma de fazer um pedido, o "Menew Cardápio Digital", software desenvolvido por MVarandas Soluções em Tecnologia, está recebendo várias melhorias graças ao Crosswalk,  HTML5 runtime para Android desenvolvido pela Intel. O bom resultado também é fruto da colaboração entre as equipes de desenvolvimento de ambas as empresas.

  • Desarrolladores
  • Socios
  • Android*
  • Android*
  • HTML5
  • HTML5
  • Principiante
  • Intermedio
  • Herramientas de desarrollo
  • Código abierto
  • Mac OS 10.9 - clang: error: unknown argument: '-no-intel-extensions'

    I executed the following commands:

    INTEL_OPENMP_LATEST_BUILD_LINK=https://www.openmprtl.org/sites/default/files/libomp_20131209_oss.tgz

    curl ${INTEL_OPENMP_LATEST_BUILD_LINK} -o libomp_oss_temp.tgz
    gunzip -c libomp_oss_temp.tgz | tar xopf -
    rm -rf libomp_oss_temp.tgz
    cd libomp_oss

     

    Transitioning from Valgrind* Tools to Intel® Inspector XE

    The open source Valgrind* framework supports several tools for checking the memory and threading correctness of your code. Intel® Inspector XE has that same functionality but supports additional operating systems (Linux* and Microsoft Windows*), languages (C, C++, Microsoft .NET*, Fortran), and threading libraries (OpenMP*, Intel® Threading Building Blocks) while also providing a substantially more powerful GUI. This additional functionality makes it well worth buying a commercial tool.

  • Linux*
  • Microsoft Windows* (XP, Vista, 7)
  • Microsoft Windows* 8.x
  • .NET*
  • C#
  • C/C++
  • Fortran
  • Intel® Inspector XE
  • Featured Product Support
  • Featured Support Topics
  • Herramientas de desarrollo
  • Código abierto
  • Computación en paralelo
  • Subprocesos
  • Suscribirse a Código abierto