Dokumentacja pliku src/thread/thread.hpp

#include "src/common/blist.hpp"
#include "src/arch/x86/context.hpp"
#include "src/arch/x86/interr.hpp"
#include "src/arch/x86/except_c.hpp"
#include "src/ipc/msg.hpp"
#include "src/ipc/sem.hpp"
#include "src/memory/pager.hpp"

Idź do kodu źródłowego tego pliku.

Przestrzenie nazw

namespace  Thread

Komponenty

struct  threnv_t
struct  Thread::thread_t

Definicje

#define ThreadFail(...)   do { complain(__VA_ARGS__); ::Thread::ThreadKill(current_thread); } while (0)

Funkcje

void Thread::allocate_context (Thread::thread_t *obj, bool supervisor, uint32 stack, uint32 proc_addr)
int Thread::enqueue_thread (thread_t *thread, blist_t *queue)
int Thread::unqueue_thread (thread_t *thread, blist_t *queue)
uint32 Thread::thread_load (thread_t *thread)
int Thread::sleepcompar (const void *a, const void *b)
int Thread::sleep (thread_t *thread, uint64 time)
int Thread::sleep (uint64 time)
int Thread::awake (thread_t *thread)
int Thread::wake_threads ()
int Thread::sem_sleep (thread_t *thread, struct sem_t *sem_id, uint64 sem_dt)
int Thread::sem_sleep (struct sem_t *sem_id, uint64 sem_dt)
int Thread::sem_awake (thread_t *thread)
thread_t * Thread::ThreadGet (int procno, int threadno)
int Thread::ThreadKill (thread_t *thread)
int Thread::ThreadKill (int procno, int threadno)

Zmienne

const uint32 Thread::THREAD_NAME = 0x20
const uint32 Thread::THREAD_QUEUES = 32
const uint32 Thread::LOWEST_PRIORITY = 31
const uint32 Thread::TH_BUSY = 0x0004
const uint32 Thread::TH_ACTIVE = 0x0008
const uint32 Thread::TH_ASLEEP = 0x0010
const uint32 Thread::TH_DYING = 0x0020
const uint32 Thread::TH_BLOCKED = 0x0040
const uint32 Thread::TH_IDLE = 0x0080
class IPC::Lock::lock_t Thread::lock_queues
class IPC::Lock::lock_t Thread::lock_sleep
struct::Thread::thread_t * current_thread


Dokumentacja definicji

#define ThreadFail ( ...   )     do { complain(__VA_ARGS__); ::Thread::ThreadKill(current_thread); } while (0)

Definicja w linii 104 pliku thread.hpp.


Dokumentacja zmiennych


Wygenerowano Sat Jul 19 02:21:25 2008 dla panaLiX programem  doxygen 1.5.6