代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/317645/13500343
c wtx801.c
#include "include/mcuapi.h"
#define MaxThread 12
int main(void)
{
void *retval[MaxThread];
int k, res, iPort[MaxThread];
pthread_t thread_a[MaxThread];
FlashCopyOut(MyFlashBuff, 0, MaxAccess)
www.eeworm.com/read/317123/13510057
c thread.c
/***************************************************************************
* thread.c
*
* Mon May 21 18:08:29 2007
* Copyright 2007 kf701
* Email
******
www.eeworm.com/read/316280/13526390
cc scheduler.cc
//Copyright (c) 2004, Charles Killian, Adolfo Rodriguez, Dejan Kostic, Sooraj Bhat, and Amin Vahdat
//All rights reserved.
//
//Redistribution and use in source and binary forms, with or without
//mod
www.eeworm.com/read/311774/13626265
c getenv3.c
#include
#include
#include
#include
static pthread_key_t key;
static pthread_once_t init_done = PTHREAD_ONCE_INIT;
pthread_mutex_t env_mutex = PTHREAD_MUT
www.eeworm.com/read/311774/13626266
c suspend.c
#include "apue.h"
#include
int quitflag; /* set nonzero by thread */
sigset_t mask;
pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;
pthread_cond_t waitloc = PTHREAD_COND_INITIALIZER;
www.eeworm.com/read/304348/13795906
16 fig12.16
#include "apue.h"
#include
int quitflag; /* set nonzero by thread */
sigset_t mask;
pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;
pthread_cond_t waitloc = PTHREAD_COND_INITIALIZER;
www.eeworm.com/read/304348/13796167
c getenv3.c
#include
#include
#include
#include
static pthread_key_t key;
static pthread_once_t init_done = PTHREAD_ONCE_INIT;
pthread_mutex_t env_mutex = PTHREAD_MUT
www.eeworm.com/read/304348/13796168
c suspend.c
#include "apue.h"
#include
int quitflag; /* set nonzero by thread */
sigset_t mask;
pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;
pthread_cond_t waitloc = PTHREAD_COND_INITIALIZER;
www.eeworm.com/read/304348/13796213
13 fig12.13
#include
#include
#include
#include
static pthread_key_t key;
static pthread_once_t init_done = PTHREAD_ONCE_INIT;
pthread_mutex_t env_mutex = PTHREAD_MUT
www.eeworm.com/read/149876/5696124
c pthreads.c
#include
#include "config.h"
#ifndef HAVE_PTHREAD_H
/* Don't even try to compile. In fact, cause a syntax error that we can
look for as a compiler error message and know that we have