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. |
void VMCALL hyport_tls_free | ( | struct HyPortLibrary * | portLibrary | ) |
Per Thread Buffer Support.
Free the per thread buffers.
[in] | portLibrary | The port library. |
Genereated on Tue Dec 9 14:12:59 2008 by Doxygen.
(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.