Skip to content

v3.0.0

Compare
Choose a tag to compare
@zsw007 zsw007 released this 26 Sep 03:24
b430e85

Notable changes:

  • __sem_*() functions and atomic_*() functions moved from zos-base.h to
    zos-semaphore.h
  • [BREAKING] zos-semaphore.h is no longer included in zos-base.h by
    default
  • Enabled building with with clang compiler
  • Added LESavStackAsync class to save and restore SP
  • Added __dlcb_iterate() function to walk through list of dlcb objects
  • Added __get_le_version() function to return the LE version string
  • Added build.sh tool for conveniently building zoslib
  • Fixed __zinit instance not being destroyed during exit-time
  • Fixed __Cache object being accessed after it has been destroyed
  • Added __get_cpu_model() function to get the system CPU model
  • Fixed memory leak in *_mmap() functions
  • Added functionality to optionally log memory allocations
  • Added new memory functions __zalloc(), __zfree(), __zalloc_for_fd(),
    as *_mmap() functions will be deprecated once MAP_ANONYMOUS support is
    implemented in the future
  • Fixed bug where init_tf_parms_t() did not initialize all parms to 0
  • Added templates __subtractOne and __addOne for bitset
  • Enabled __setlibpath to support ninja builds
  • [BREAKING] __fork() function and related code removed
  • [BREAKING] __setdebug() and __indebug() function and related code
    removed
  • Added feature to override allocation function for logging memory usage
  • Fixed bug in getentropy() where it intermittently returned a buffer
    with null-entries
  • Fixed a bug where CMake will try to install into /usr