Per thread buffers are used to store information that is not sharable among the threads. For example when an OS system call fails the error code associated with that error is relevant to the thread that called the OS function; it has no meaning to any other thread.
This file contains the functions supported by the port library for creating, accessing and destroying per thread buffers.
#include <string.h>
#include "hyport.h"
#include "portpriv.h"
#include "hythread.h"
#include "hyportptb.h"
Functions | |
void VMCALL | hyport_tls_free (struct HyPortLibrary *portLibrary) |
Per Thread Buffer Support. |
|
Per Thread Buffer Support. Free the per thread buffers.
|