nlib
Bug List
globalScope> Member nlib_calloc (size_t nmemb, size_t size)
With the Cygwin version, the user program cannot override the function.
globalScope> Member nlib_free (void *ptr)
With the Cygwin version, the user program cannot override the function.
globalScope> Member nlib_malloc (size_t size)
With the Cygwin version, the user program cannot override the function.
globalScope> Member nlib_memalign (size_t alignment, size_t size)
With the Cygwin version, the user program cannot override the function.
globalScope> Member nlib_realloc (void *ptr, size_t size)
With the Cygwin version, the user program cannot override the function.
globalScope> Member nlib_thread_exit (void) NLIB_NORETURN
For Linux and FreeBSD, a destructor for C++ automatic variables is run. For other cases, it will not be run.
globalScope> Member nlib_thread_exit_cpp () NLIB_NORETURN
A destructor registered with nlib_thread_cleanup_push() is run for Linux and FreeBSD. In addition, for FreeBSD, a thrown (special) C++ exception cannot be caught.
globalScope> Member nlib_tls_alloc (nlib_tls *tls, nlib_tls_destructor destr)
If you set a value by using lib_tls_setvalue() in a destructor function, two implementations are available: an implementation in which the destructor function is called multiple times and another implementation in which it is called once. Note that, in cygwin and CTR, the destructor function is called only once as of now. The condition described above may cause memory leaks.