Blender V2.61 - r43446
Classes | Defines | Typedefs

util_thread.h File Reference

#include <boost/thread.hpp>
#include <queue>

Go to the source code of this file.

Classes

class  ThreadQueue< T >

Defines

#define tls_ptr(type, name)   __thread type *name
#define tls_set(name, value)   name = value
#define tls_get(type, name)   name
#define tls_create(type, name)
#define tls_delete(type, name)

Typedefs

typedef boost::mutex thread_mutex
typedef boost::mutex::scoped_lock thread_scoped_lock
typedef boost::condition_variable thread_condition_variable

Define Documentation

#define tls_create (   type,
  name 
)

Definition at line 204 of file util_thread.h.

#define tls_delete (   type,
  name 
)

Definition at line 205 of file util_thread.h.

#define tls_get (   type,
  name 
)    name

Definition at line 202 of file util_thread.h.

#define tls_ptr (   type,
  name 
)    __thread type *name

Definition at line 198 of file util_thread.h.

#define tls_set (   name,
  value 
)    name = value

Definition at line 200 of file util_thread.h.


Typedef Documentation

typedef boost::condition_variable thread_condition_variable

Definition at line 43 of file util_thread.h.

typedef boost::mutex thread_mutex

Definition at line 41 of file util_thread.h.

typedef boost::mutex::scoped_lock thread_scoped_lock

Definition at line 42 of file util_thread.h.