代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/147331/5731639
c pspinlock.c
/* POSIX spinlock implementation. x86 version.
Copyright (C) 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistri
www.eeworm.com/read/101153/6237702
c hello.c
#include
#include
#include
pthread_t thread;
void * start_routine(void *arg)
{
struct sched_param p;
p . sched_priority = 1;
pthread_setschedparam (pthread_self(), SC
www.eeworm.com/read/129924/5966018
h queue.h
/* ==== queue.h ============================================================
* Copyright (c) 1993 by Chris Provenzano, proven@mit.edu
* All rights reserved.
*
* Redistribution and use in source an
www.eeworm.com/read/129924/5966010
h pthreadutil.h
/* ==== pthread_tad.h ========================================================
* Copyright (c) 1995 by Chris Provenzano, proven@athena.mit.edu
*
* Redistribution and use in source and binary forms,
www.eeworm.com/read/125688/6022470
c inherit-test1.c
/*
* Copyright (c) 1996, 1998, 1999 University of Utah and the Flux Group.
* All rights reserved.
*
* This file is part of the Flux OSKit. The OSKit is free software, also known
* as "open sour
www.eeworm.com/read/124347/6053531
c cancel1.c
/*
* File: cancel1.c
*
* Test Synopsis: Test setting cancel state and cancel type.
* -
*
* Test Method (Validation or Falsification):
* -
*
* Requirements Tested:
* - pthread_setcancelstat
www.eeworm.com/read/112192/6147981
c sync.c
/*
* sync.c
*
* Description:
* This translation unit implements functions related to thread
* synchronisation.
*
* Pthreads-win32 - POSIX Threads Library for Win32
* Copyright (C) 1998
www.eeworm.com/read/167847/9950278
c test1.c
/* verify that not calling pthread_*attr_destroy() causes memory leak */
#include "unpipc.h"
int
main(int argc, char **argv)
{
pthread_mutexattr_t mattr;
pthread_condattr_t cattr;
for ( ; ; ) {
www.eeworm.com/read/457697/7320852
h lock.h
///
/// @file Lock.h
/// @brief
/// @author guozhiming
/// @date 2007-04-11
///
#ifndef __LOCK__
#define __LOCK__
#include "def.h"
/// @brief 锁的基本操作 1:读操作的时候读锁可以并发 2:写操作的时候,独占操作
class G_Lock
{
www.eeworm.com/read/444606/7610949
c test1.c
/* verify that not calling pthread_*attr_destroy() causes memory leak */
#include "unpipc.h"
int
main(int argc, char **argv)
{
pthread_mutexattr_t mattr;
pthread_condattr_t cattr;
for ( ; ; ) {