ncloader  0.1
 모두 데이타 구조 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 매크로 그룹들 페이지들
thread.c 파일 참조
#include <sys/types.h>
#include <stdio.h>
#include <stddef.h>
#include <assert.h>
#include <unistd.h>
#include <stdlib.h>
#include <list.h>
#include <thread.h>
#include <page_allocator.h>
#include <arch.h>
+ thread.c에 대한 include 의존 그래프

데이타 구조

struct  thread
 [Stage 2 Thread Control Block] 더 자세히 ...
 
struct  info
 [Stage 2 Thread Control Block]
 

함수

void thread_set_exit_value (struct thread *thread, void *ret)
 
void * thread_exit_value (struct thread *thread)
 
void thread_set_state (struct thread *tcb, enum thread_state state)
 주어진 thread 의 상태를 변경한다. 더 자세히 ...
 
void thread_set_type (struct thread *tcb, enum thread_type type)
 
void thread_set_attribute (struct thread *tcb, enum thread_attribute attribute)
 
enum thread_state thread_state (struct thread *tcb)
 주어진 thread 의 상태를 확인한다. 더 자세히 ...
 
enum thread_type thread_type (struct thread *tcb)
 
enum thread_attribute thread_attribute (struct thread *tcb)
 
struct threadthread_create (void *(*entry)(void *), void *arg)
 Thread 를 생성한다. 더 자세히 ...
 
void thread_destroy (struct thread *tcb)
 주어진 Thread 를 소멸 시킬 Thread 목록에 추가시킨다. 더 자세히 ...
 
void thread_set_context (struct thread *thread, void *ctx)
 
void * thread_context (struct thread *thread)
 
struct threadthread_next (struct thread *thread, int circle)
 
struct threadthread_prev (struct thread *thread)
 

함수 문서화

void thread_set_type ( struct thread tcb,
enum thread_type  type 
)
enum thread_type thread_type ( struct thread tcb)