/dports/lang/sagittarius-scheme/sagittarius-0.9.8/ext/threads/ |
H A D | threads.h | 62 SgVM *owner; 139 extern SgObject Sg_ThreadStart(SgVM *vm); 142 extern SgObject Sg_ThreadResume(SgVM *vm); 144 extern SgObject Sg_ThreadTerminate(SgVM *vm); 145 extern SgObject Sg_ThreadInterrupt(SgVM *vm); 154 SgObject Sg_MutexLock(SgMutex *mutex, SgObject timeout, SgVM *owner); 158 SgObject Sg_MakeJoinTimeoutException(SgVM *vm); 159 SgObject Sg_MakeAbandonedMutexException(SgVM *vm, SgMutex *mutex); 160 SgObject Sg_MakeTerminatedThreadException(SgVM *vm, SgVM *terminator); 161 SgObject Sg_MakeUncaughtException(SgVM *vm, SgObject reason); [all …]
|
H A D | threads.c | 46 SgVM *current = Sg_VM(), *vm; in Sg_MakeThread() 55 static void thread_cleanup_inner(SgVM *vm) in thread_cleanup_inner() 68 SgVM *vm = SG_VM(data); in thread_cleanup() 78 SgVM *vm = SG_VM(data); in thread_entry() 118 SgObject Sg_ThreadStart(SgVM *vm) in Sg_ThreadStart() 193 SgVM *taker = NULL; in Sg_ThreadSuspend() 194 SgVM *vm = Sg_VM(); in Sg_ThreadSuspend() 235 SgObject Sg_ThreadResume(SgVM *target) in Sg_ThreadResume() 238 SgVM *stopped_by_other = NULL; in Sg_ThreadResume() 303 SgVM *vm = Sg_VM(); in Sg_ThreadTerminate() [all …]
|
H A D | mutex.c | 41 SgVM *vm; in mutex_printer() 123 SgObject Sg_MutexLock(SgMutex *mutex, SgObject timeout, SgVM *owner) in Sg_MutexLock() 126 SgVM *abandoned = NULL; in Sg_MutexLock() 177 SgVM *vm = mutex->owner; /* original owner */ in Sg_MutexUnlock() 385 SgObject Sg_MakeJoinTimeoutException(SgVM *vm) in Sg_MakeJoinTimeoutException() 392 SgObject Sg_MakeAbandonedMutexException(SgVM *vm, SgMutex *mutex) in Sg_MakeAbandonedMutexException() 400 SgObject Sg_MakeTerminatedThreadException(SgVM *vm, SgVM *terminator) in Sg_MakeTerminatedThreadException() 408 SgObject Sg_MakeUncaughtException(SgVM *vm, SgObject reason) in Sg_MakeUncaughtException() 416 SgObject Sg_MakeThreadInterruptException(SgVM *vm) in Sg_MakeThreadInterruptException()
|
H A D | threads_stub.stub | 99 (let ((owner::SgVM* NULL))
|
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/src/sagittarius/private/ |
H A D | vm.h | 192 SgVM *canceller; 193 SgVM *inspector; 308 #define SG_VM(obj) ((SgVM *)obj) 353 SG_EXTERN SgVM* Sg_NewVM(SgVM *proto, SgObject name); 354 SG_EXTERN SgVM* Sg_NewThreadVM(SgVM *proto, SgObject name); 355 SG_EXTERN SgVM* Sg_SetVMStack(SgVM *vm, SgObject *stack, int stackSize); 371 SG_EXTERN SgVM* Sg_VM(); /* get vm */ 372 SG_EXTERN int Sg_SetCurrentVM(SgVM *vm); 373 SG_EXTERN int Sg_AttachVM(SgVM *vm); 412 SG_EXTERN SgObject Sg_VMFinalizerRun(SgVM *vm); [all …]
|
H A D | profiler.h | 92 SG_EXTERN void Sg_ProfilerCountBufferFlush(SgVM *vm);
|
H A D | port.h | 219 SgVM *readLockOwner; 220 SgVM *writeLockOwner; 428 SgVM *vm = Sg_VM(); \ 431 SgVM *owner_; \
|
H A D | system.h | 124 SG_EXTERN SgObject Sg_GetThreadTimes(SgVM *vm);
|
H A D | library.h | 108 SG_EXTERN SgObject Sg_MakeChildLibrary(SgVM *vm, SgObject name);
|
H A D | thread.h | 88 SgVM *vm___ = Sg_VM(); \
|
H A D | sagittariusdefs.h | 282 typedef struct SgVMRec SgVM; typedef
|
H A D | exceptions.h | 389 SG_EXTERN SgObject Sg_AddStackTrace(SgObject e, SgVM* vm);
|
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/src/ |
H A D | vm.c | 155 SgVM* Sg_NewThreadVM(SgVM *proto, SgObject name) in Sg_NewThreadVM() 157 SgVM *v = SG_NEW(SgVM); in Sg_NewThreadVM() 228 SgVM* Sg_SetVMStack(SgVM *vm, SgObject *stack, int stackSize) in Sg_SetVMStack() 239 SgVM* Sg_NewVM(SgVM *proto, SgObject name) in Sg_NewVM() 249 SgVM* Sg_VM() in Sg_VM() 867 SgVM *vm = theVM; in define_compiler() 898 SgVM *vm = theVM; in next_eval_cc() 928 SgVM *vm = theVM; in Sg_VMEval() 1082 SgVM *vm = theVM; in Sg_Apply1() 1089 SgVM *vm = theVM; in Sg_Apply2() [all …]
|
H A D | profiler.c | 79 SgVM *vm = Sg_VM(); in sampler_sample() 130 SgVM *vm = Sg_VM(); in Sg_ProfilerStart() 159 SgVM *vm = Sg_VM(); in Sg_ProfilerStop() 170 SgVM *vm = Sg_VM(); in Sg_ProfilerReset() 186 SgVM *vm = Sg_VM(); in Sg_ProfilerRawResult() 198 void Sg_ProfilerCountBufferFlush(SgVM *vm) in Sg_ProfilerCountBufferFlush() 257 void Sg_ProfilerCountBufferFlush(SgVM *vm) in Sg_ProfilerCountBufferFlush()
|
H A D | load.c | 64 SgVM *vm = Sg_VM(); in Sg_Load() 91 SgVM *vm = Sg_VM(); in Sg_LoadFromPort() 144 SgVM *loader; 175 SgVM *vm = Sg_VM(); in lock_dlobj() 256 SgVM *vm = Sg_VM(); in load_dlo() 314 SgVM *vm = Sg_VM(); in Sg_DynLoad()
|
H A D | lib_vmdebug.stub | 19 (let* ((vm::SgVM* (Sg_VM))) 27 (let* ((vm::SgVM* (Sg_VM)))
|
H A D | lib_vmdebug.c | 58 {SgVM* vm=Sg_VM(); in sagittarius_vm_debug_source_info() 89 {SgVM* vm=Sg_VM(); in sagittarius_vm_debug_source_info_setX()
|
H A D | library.c | 213 SgVM *owner; 254 SgVM *vm_ = Sg_VM(); \ 257 SgVM *owner_; \ 339 SgObject Sg_MakeChildLibrary(SgVM *vm, SgObject name) in Sg_MakeChildLibrary() 502 static SgObject get_possible_paths(SgVM *vm, SgObject name, int needDirectiveP) in get_possible_paths() 562 static void load_library(SgVM *vm, SgObject path, SgObject directive) in load_library() 592 SgVM *vm = Sg_VM(); in search_library_unsafe() 807 SgVM *vm = Sg_VM(); in Sg_ImportLibraryFullSpec() 1067 SgVM *vm = Sg_VM(); in Sg_InsertSandboxBinding()
|
H A D | core.c | 438 SgVM *vm = Sg_VM(); in finalizable() 445 SgObject Sg_VMFinalizerRun(SgVM *vm) in Sg_VMFinalizerRun() 531 SgVM *vm = Sg_VM(); in Sg_Cleanup()
|
H A D | reader.c | 739 SgVM *vm = Sg_VM(); in read_list() 999 SgVM *vm = Sg_VM(); in Sg_ApplyDirective() 1011 SgVM *vm = Sg_VM(); in Sg_ApplyDirective() 1084 SgVM *vm = Sg_VM(); in Sg_ApplyDirective() 1093 SgVM *vm = Sg_VM(); in Sg_ApplyDirective() 1100 SgVM *vm = Sg_VM(); in Sg_ApplyDirective() 1117 SgVM *vm = Sg_VM(); in Sg_ApplyDirective() 1129 SgVM *vm = Sg_VM(); in Sg_ApplyDirective() 1175 SgVM *vm = Sg_VM(); in Sg_ApplyDirective() 1635 SgVM *vm = Sg_VM(); in read_expr4()
|
H A D | main.c | 302 static void set_vm_mode(SgVM *vm, int standard, SgPort *port) in set_vm_mode() 530 SgVM *vm; in real_main()
|
H A D | cache.c | 362 SgVM *vm = Sg_VM(); \ 408 SgVM *vm = Sg_VM(); in write_cache() 1102 SgVM *vm = Sg_VM(); in Sg_WriteCache() 2108 static int read_cache_from_port(SgVM *vm, SgPort *in) in read_cache_from_port() 2215 SgVM *vm = Sg_VM(); in Sg_ReadCache()
|
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/src/os/win/ |
H A D | thread.c | 227 SgVM *vm = Sg_VM(); 243 SgVM *vm = Sg_VM(); 351 SgVM *vm = Sg_VM(); in cancel_self()
|
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/src/os/posix/ |
H A D | thread.c | 156 SgVM *vm = Sg_VM(); in ignore_handler()
|
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/ext/socket/ |
H A D | sagittarius-socket.h | 183 SgVM *vm = Sg_VM(); \
|