vm: clean up os-unix.cpp
parent
bbbb207dab
commit
602776c885
|
|
@ -21,9 +21,8 @@ pthread_key_t tlsKey = 0;
|
||||||
|
|
||||||
void init_platform_globals()
|
void init_platform_globals()
|
||||||
{
|
{
|
||||||
if (pthread_key_create(&tlsKey, NULL) != 0){
|
if (pthread_key_create(&tlsKey, NULL) != 0)
|
||||||
fatal_error("pthread_key_create() failed",0);
|
fatal_error("pthread_key_create() failed",0);
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -75,8 +74,6 @@ void factor_vm::ffi_dlclose(dll *dll)
|
||||||
dll->dll = NULL;
|
dll->dll = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
inline void factor_vm::primitive_existsp()
|
inline void factor_vm::primitive_existsp()
|
||||||
{
|
{
|
||||||
struct stat sb;
|
struct stat sb;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue