#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <setjmp.h>
#include <pthread.h>
#include <signal.h>
#include "objs/kite_object.h"
#include "objs/kite_gc.h"
#include "kite_vm.h"
#include <unistd.h>
Defines | |
#define | PTHREAD_STACK_SIZE 4194304 |
Functions | |
void | kite_handle_signal (int sig) |
kite_thread_t * | kite_new_thread_without_start (kite_vm_t *vm) |
void | kite_start_bytecode (kite_thread_t *thd, void *start) |
void | kite_start_compiled (kite_thread_t *thd, void *start) |
kite_thread_t * | kite_new_thread_bytecode (kite_vm_t *vm, void *start) |
kite_thread_t * | kite_new_thread_compiled (kite_vm_t *vm, void *start) |
void | kite_join_thread (kite_vm_t *vm, kite_thread_t *thd) |
void | kite_exit_thread (kite_vm_t *vm, kite_thread_t *thd) |
Variables | |
struct kite_object_t * | kite_signal_handlers [NSIG+1] |
#define PTHREAD_STACK_SIZE 4194304 |
Referenced by kite_start_bytecode(), and kite_start_compiled().
void kite_exit_thread | ( | kite_vm_t * | vm, | |
kite_thread_t * | thd | |||
) |
References kite_join_thread().
void kite_handle_signal | ( | int | sig | ) |
void kite_join_thread | ( | kite_vm_t * | vm, | |
kite_thread_t * | thd | |||
) |
Referenced by kite_exit_thread().
kite_thread_t* kite_new_thread_bytecode | ( | kite_vm_t * | vm, | |
void * | start | |||
) |
References kite_new_thread_without_start(), and kite_start_bytecode().
kite_thread_t* kite_new_thread_compiled | ( | kite_vm_t * | vm, | |
void * | start | |||
) |
References kite_new_thread_without_start(), and kite_start_compiled().
kite_thread_t* kite_new_thread_without_start | ( | kite_vm_t * | vm | ) |
Referenced by kite_new_thread_bytecode(), and kite_new_thread_compiled().
void kite_start_bytecode | ( | kite_thread_t * | thd, | |
void * | start | |||
) |
References PTHREAD_STACK_SIZE.
Referenced by kite_new_thread_bytecode().
void kite_start_compiled | ( | kite_thread_t * | thd, | |
void * | start | |||
) |
References PTHREAD_STACK_SIZE.
Referenced by kite_new_thread_compiled().
struct kite_object_t* kite_signal_handlers[NSIG+1] |