Update Files
This commit is contained in:
15
Kha/Backends/Kinc-hxcpp/khacpp/test/haxe/gc/ZoneTest.cpp
Normal file
15
Kha/Backends/Kinc-hxcpp/khacpp/test/haxe/gc/ZoneTest.cpp
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
void nativeLoop()
|
||||
{
|
||||
while( gc::TestGCThreaded_obj::keepRunning)
|
||||
{
|
||||
|
||||
for(int i=0; i<100; i++)
|
||||
::gc::Wrapper_obj::__alloc( HX_CTX_GET ,1);
|
||||
|
||||
::Sys_obj::sleep(0.01);
|
||||
}
|
||||
gc::TestGCThreaded_obj::nativeRunning = false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user