12.8.2.1 Boehm-GC support
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Foreign Language Interface
        • Notes on Using Foreign Code
          • Memory Allocation
            • Boehm-GC support
              • PL_malloc_atomic()
              • PL_malloc_uncollectable()
              • PL_malloc_atomic_uncollectable()
              • PL_malloc_stubborn()
              • PL_end_stubborn_change()
    • Packages
Availability:C-language interface function
void* PL_malloc_atomic(size_t bytes)
void* PL_malloc_uncollectable(size_t bytes)
void* PL_malloc_atomic_uncollectable(size_t bytes)
If Boehm-GC is not used, these are all the same as PL_malloc(). With Boehm-GC, these map to the corresponding Boehm-GC functions. Atomic means that the content should not be scanned for pointers, and uncollectable means that the object should never be garbage collected.