代码搜索:thread
找到约 10,000 项符合「thread」的源代码
代码结果 10,000
www.eeworm.com/read/466558/7026853
h spthread.h
#ifndef __spthread_hpp__
#define __spthread_hpp__
#ifndef WIN32
/// pthread
#include
#include
typedef void * sp_thread_result_t;
typedef pthread_mutex_t sp_thread_mutex_t
www.eeworm.com/read/387591/7085918
c p12.1.c
#include
#include
void* thread_info(void)
{
fprintf(stderr,"in thread_info function\n");
}
int main(void)
{
pthread_t thread_id;
int ret;
ret=pthread_create(&thread_id,N
www.eeworm.com/read/462527/7200781
rss threadao.rss
/*
* ============================================================================
* Name : ThreadAO.rss ThreadAO resource file
* Part of : ThreadAO
* Created : 12.1.2005 by Forum Nokia
*
www.eeworm.com/read/444200/7616628
c os.c
void os_schedule(void)
{
os_thread *temp_thread, *top_thread;
#asm("cli");
temp_thread = g_usedthreads;
top_thread = g_currthread;
while (temp_thread != NULL)
{
www.eeworm.com/read/443312/7634798
c tx_tdel.c
/**************************************************************************/
/* */
/* Copyright (c) 1996-2000 by E
www.eeworm.com/read/434785/7801705
c p.c
#include"kernel.h"
#define WRONG_THREAD_ID -1
#define WRONG_SEMAPHORE_ID -2
#define WRONG_THREAD_STATE -3
#define WRONG_CAPABILITY -4
int system_call_p(int thread_id,int semaphore_id,
int
www.eeworm.com/read/434785/7801724
c v.c
#include"kernel.h"
#define WRONG_THREAD_ID -1
#define WRONG_SEMAPHORE_ID -2
#define WRONG_THREAD_STATE -3
#define WRONG_CAPABILITY -4
static int v(int semaphore_id,int *steps,struct capabili
www.eeworm.com/read/396069/8134914
bak pthread_sem_sample.c.bak
#include
#include
#include
#include
#include
int number;
sem_t sem_id;
void* thread_fun(void *arg)
{
int i=0;
printf("count=%d\n",*((int
www.eeworm.com/read/396069/8134916
c pthread_sem_sample.c
#include
#include
#include
#include
#include
int number;
sem_t sem_id;
void* thread_fun(void *arg)
{
int i=0;
printf("count=%d\n",*((int