nckernel  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
thread.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  file
 
struct  file_object_info
 파일 객체를 생성할 때, object_create 시 전달 된 인자 정보들을 표현한다. More...
 
struct  local_tcb
 이 자료구조는 Stack 으로 사용될 메모리 영역의 제일 처음 부분에 저장된다. More...
 
struct  thread
 쓰레드를 위한 구조체 정의 More...
 
struct  thread_attr
 쓰레드의 속성 정보를 가진다. More...
 
struct  thread_file_ctx
 

Macros

#define MAX_ENTRY   256
 
#define THREAD_TAG   "ncthread"
 
#define THREAD_TAGLEN   9
 

Functions

int thread_create (struct thread *tcb, struct thread_attr *attr)
 
void * thread_get_arch_data (struct thread *tcb)
 
unsigned long thread_get_stack_pointer (struct thread *tcb)
 
int thread_get_status (struct thread *tcb)
 
FILEthread_get_stderr (void)
 현재 쓰레드의 표준 에러 출력을 가져 온다. More...
 
FILEthread_get_stdin (void)
 현재 쓰레드의 표준 입력을 가져온다. return FILE * More...
 
FILEthread_get_stdout (void)
 현재 쓰레드의 표준 출력을 가져온다. More...
 
void * thread_get_user_data (struct thread *tcb)
 
void thread_set_status (struct thread *tcb, int status)