Vault  4.1
vthread_platform.h
Go to the documentation of this file.
00001 /*
00002 Copyright c1997-2014 Trygve Isaacson. All rights reserved.
00003 This file is part of the Code Vault version 4.1
00004 http://www.bombaydigital.com/
00005 License: MIT. See LICENSE.md in the Vault top level directory.
00006 */
00007 
00008 #ifndef vthread_platform_h
00009 #define vthread_platform_h
00010 
00013 // POSIX threads data types.
00014 
00015 extern "C" {
00016 #include <pthread.h>
00017 }
00018 
00019 // We define our own names here so that we are independent of the platform names,
00020 // and don't conflict with any similarly-named platform typedefs (such as "ThreadID").
00021 typedef pthread_t       VThreadID_Type;
00022 typedef pthread_cond_t  VSemaphore_Type;
00023 typedef pthread_mutex_t VMutex_Type;
00024 typedef struct timespec VTimeout_Type;
00025 
00026 #endif /* vthread_platform_h */
00027 

Copyright ©1997-2014 Trygve Isaacson. All rights reserved. This documentation was generated with Doxygen.