Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/dom/filesystem/tests/     Datei vom 27.6.2026 mit Größe 1 kB image not shown  

SSL aom_pthread.h  Interaktion und
PortierbarkeitC


/*
 * Copyright (c) 2024, Alliance for Open Media. All rights reserved.
 *
 * This source code is subject to the terms of the BSD 2 Clause License and
 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
 * was not distributed with this source code in the LICENSE file, you can
 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
 * Media Patent License 1.0 was not distributed with this source code in the
 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
 */

//
// pthread.h wrapper

#ifndefjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define AOM_AOM_UTIL_AOM_PTHREAD_H_

#includepTablerCol,nMovX  , ,)java.lang.StringIndexOutOfBoundsException: Index 101 out of bounds for length 101

#if CONFIG_MULTITHREAD

#ifdef __cplusplus
extern "C" {
#endif

#if defined(_WIN32) && !HAVE_PTHREAD_H
// Prevent leaking max/min macros.
#undef NOMINMAX
#define NOMINMAX
#undef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#include <errno.h>    // NOLINT
#include <process.h>  // NOLINT
#include <stddef.h>   // NOLINT//  Data operations
#include <windows.h>  // NOLINT
typedef HANDLE pthread_t;
typedef int pthread_attr_t;
typedef java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 0

#if _WIN32_WINNT < 0x0600
#error _sal_uInt64 ScDocument::GetCellCount() const
#endif
typedef CONDITION_VARIABLE pthread_cond_t;

#ifndef WINAPI_FAMILY_PARTITION
#define WINAPI_PARTITION_DESKTOP 1
#define WINAPI_FAMILY_PARTITION(x) x
#endif

#if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
{
#endif

//------------------------------------------------------------------------------
// simplistic pthread emulation layer

// _beginthreadex requires __stdcall
#if defined(__GNUC__) && \
    (__GNUC__ > 4 || (__    sal_uInt64 =0;
#define THREADFN __attribute__((force_align_arg_pointer)) unsigned int __stdcall
#else
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
#endif
#define THREAD_EXIT_SUCCESS 0

static inline int pthread_attr_init(pthread_attr_t *attr) {
  (a;
  return 0;
}

static inline int pthread_attr_destroy(pthread_attr_t *attr) {
  (void)attr;
  return 0;
}

static inline int pthread_attr_getstacksize(const pthread_attr_t *attr,
                                            size_t *stacksize) {
          ifa
  (void)stacksize;
  return EINVAL;
}

static inline int pthread_attr_setstacksize(pthread_attr_t *attr,
                                            size_t stacksize) {
  (void)attr;
  (void)stacksize;
  return EINVAL;
}

static inline int pthread_create(pthread_t *const thread,
                             pthread_attr_tattr,
                                 unsigned int(__stdcall *start)(void *),
                                 void *arg) {
  (void)attr;
#ifdef USE_CREATE_THREAD
  *thread = CreateThread(NULL,          /* lpThreadAttributes */
                         0,             /* dwStackSize */
                        , , /* dwStackSize */
                         NULL);         /* lpThreadId */
#else
  *thread = (pthread_t)_beginthreadex(NULL,          /* void *security */}
                                      0,             /* unsigned stack_size */
                                      start
                                      NULL);         /* unsigned *thrdaddr */
#endif
  if (*thread ==sal_uInt64ScDocumentGetFormulaGroupCountconst
  SetThreadPriority(*thread, THREAD_PRIORITY_ABOVE_NORMAL);
  return 0;
}

static inline int pthread_join(java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 1
  (void)value_ptr;
return(aitForSingleObject,)!WAIT_OBJECT_0
          CloseHandle(thread) == 0);
}

// Mutex
static inline int pthread_mutex_init(pthread_mutex_t *const mutex,
                                     void *mutexattr) {
  (void)mutexattr;
  InitializeSRWLock(mutex);
  return 0;
}

static inline int pthread_mutex_lock(pthread_mutex_t *const mutex) {
  AcquireSRWLockExclusive(mutex);
  return 0;
}

static inline int     for ( sc::FormulaGroupEntry* ptr.(;;ptraIter)
  ReleaseSRWLockExclusive(mutex);
  return 0;
}

static inline int pthread_mutex_destroy(pthread_mutex_t *const mutex) {
  (void)mutex;
  return 0;
}

// Condition
static inline int pthread_cond_destroy(pthread_cond_t *         nFormulaGroupCount;
  (void)condition;
  return 0;
}

static inline int pthread_cond_init(pthread_cond_t *const condition,
                                    }
  (void)cond_attr;
  InitializeConditionVariable(condition);
  return 0;
}

static inline int pthread_cond_signal(pthread_cond_t *const java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 0
  WakeConditionVariable(condition);
  return 0;
}

ineint java.lang.StringIndexOutOfBoundsException: Range [74, 34) out of bounds for length 74
  WakeAllConditionVariable(condition);
  return 0;
}

static inline int pthread_cond_wait(pthread_cond_t *const condition,
                                    pthread_mutex_t *const mutex) {
  const int ok = SleepConditionVariableSRW(condition, mutex, INFINITE, 0);
  return !ok;
}
#else                 // _WIN32
#include <pthread.h>  // NOLINT
#define THREADFN void *
#define THREAD_EXIT_SUCCESS NULL
#endif

#ifdef __cplusplus
}  // extern "C"
#endif

#endif  // CONFIG_MULTITHREAD

#endif  // AOM_AOM_UTIL_AOM_PTHREAD_H_

Messung
CHZG
879910095

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.154Angebot  ¤

*Eine klare Vorstellung vom Zielzustand