代码搜索:thread
找到约 10,000 项符合「thread」的源代码
代码结果 10,000
www.eeworm.com/read/149140/12399030
c return.c
#include"kernel.h"
#define WRONG_PROCESS -1
#define NO_RETURN_STACK -2
#define WRONG_THREAD -3
#define WRONG_CAPABILITY -4
#define WRONG_THREAD_STATE -5
static void exit_thread(int threa
www.eeworm.com/read/149140/12399047
c sem_re.c
#include"kernel.h"
#define WRONG_SEMAPHORE -1
#define WRONG_PROCESS_NUMBER -2
#define WRONG_PROCESS_STATE -3
#define WRONG_CAPABILITY -4
#define IS_THREAD_SEMAPHORE -5
int release_semaph
www.eeworm.com/read/149140/12399057
h os_struct.h
#ifndef OS_OS_STRUCT
#define OS_OS_STRUCT
struct cpu_information{
int thread_id;
struct{
int thread_id,process_id;
struct thread_physical_block physical_block;
}last;
};
#define
www.eeworm.com/read/167890/5451584
c mutex.c
// This file is part of MANTIS OS, Operating System
// See http://mantis.cs.colorado.edu/
//
// Copyright (C) 2003,2004,2005 University of Colorado, Boulder
//
// This program is free software; yo
www.eeworm.com/read/167890/5451739
c sleep_test.c
// This file is part of MANTIS OS, Operating System
// See http://mantis.cs.colorado.edu/
//
// Copyright (C) 2003,2004,2005 University of Colorado, Boulder
//
// This program is free software; yo
www.eeworm.com/read/167890/5452021
c blink.c
// This file is part of MANTIS OS, Operating System
// See http://mantis.cs.colorado.edu/
//
// Copyright (C) 2003,2004,2005 University of Colorado, Boulder
//
// This program is free software; yo
www.eeworm.com/read/394303/8232755
cc epoll_http.cc
/*Linux 2.6 x86_64 only*/
#include
#include
#include
#include
#include
#include
#include
www.eeworm.com/read/267457/11178126
c s1.c
#include
#include
#include
#include
#include
#include
void *Client(void *arg);
void *thread_function(void *arg);
int c
www.eeworm.com/read/192659/8367664
java clock.java
import java.awt.*;
import java.applet.*;
import java.util.*;
public class clock extends Applet implements Runnable
{
Thread clockThread=null;
Label time;
public void init()
{
ti
www.eeworm.com/read/192647/8368139
txt xiancheng.txt
name:testThread.py
import threading
import time
import random
class PrintThread(threading.Thread):
"""欢您的使用
你还好吗"""
def __init__(self,threadname):
threading.Thread.__i