代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/479931/1327462
c thread4.c
/* Compiler options:
#notarget: cris*-*-elf
#cc: additional_flags=-pthread
#output: abb ok\n
Testing a pthread corner case. Output will change with glibc
releases. */
#include
#in
www.eeworm.com/read/473565/6846298
c prg8_1.c
// File: prg8_1.c
#include
#include /* pthread functions and data structures */
#define NUM_EMPLOYEES 2 /* size of each array. */
/* g
www.eeworm.com/read/240943/4564635
h malloc.h
#ifndef _PT_MALLOC_H_
#define _PT_MALLOC_H_
#include
malloc_t pthread_malloc (size_t size);
int pthread_free (malloc_t ptr);
malloc_t pthread_realloc (malloc_t ptr,size_t size);
malloc_t
www.eeworm.com/read/395229/2445671
c libtest.c
#include
#include
#include
extern int __pthread_once(void);
void dltest(uint32_t **value1, uint32_t **value2)
{
*value1 = (uint32_t *) __pthread_once;
*value2 = (u
www.eeworm.com/read/261580/4320744
h malloc.h
#ifndef _PT_MALLOC_H_
#define _PT_MALLOC_H_
#include
malloc_t pthread_malloc (size_t size);
int pthread_free (malloc_t ptr);
malloc_t pthread_realloc (malloc_t ptr,size_t size);
malloc_t
www.eeworm.com/read/139557/5798297
c mdsched.c
/* Copyright (c) 1999-2000 Microsoft Corporation. All rights reserved. */
#include "kernel.h"
#ifdef MIPS_HAS_FPU
void SaveFloatContext(PTHREAD);
void RestoreFloatContext(PTHREAD);
DWORD GetAndClear
www.eeworm.com/read/481348/1297281
c mdsched.c
/* Copyright (c) 1999-2000 Microsoft Corporation. All rights reserved. */
#include "kernel.h"
#ifdef MIPS_HAS_FPU
void SaveFloatContext(PTHREAD);
void RestoreFloatContext(PTHREAD);
DWORD GetAn
www.eeworm.com/read/246537/4493585
c example01.c
#include "unpthread.h"
#define NLOOP 5000
int counter; /* this is incremented by the threads */
void *doit(void *);
int
main(int argc, char **argv)
{
pthread_t tidA, tidB;
Pthread_create(&t
www.eeworm.com/read/246537/4493590
c example02.c
#include "unpthread.h"
#define NLOOP 5000
int counter; /* this is incremented by the threads */
pthread_mutex_t counter_mutex = PTHREAD_MUTEX_INITIALIZER;
void *doit(void *);
int
main(int argc
www.eeworm.com/read/242733/4536447
c mdsched.c
/* Copyright (c) 1999-2000 Microsoft Corporation. All rights reserved. */
#include "kernel.h"
#ifdef MIPS_HAS_FPU
void SaveFloatContext(PTHREAD);
void RestoreFloatContext(PTHREAD);
DWORD GetAn