bmk_cores_linux.bmx 245 B

1234567891011121314151617
  1. SuperStrict
  2. Import "bmk_cores_linux.c"
  3. Extern
  4. Function bmx_get_core_count:Int()
  5. End Extern
  6. Function GetCoreCount:Int()
  7. Global count:Int
  8. If Not count Then
  9. count = bmx_get_core_count()
  10. End If
  11. Return count
  12. End Function