artf4149: Removed references to VxWorks

Implemented setTaskPriority() and getTaskPriority() in Task HAL API

Removed all other unimplemented functions in HAL and removed spawnTask()

Replaced instances of pthread_t* with TASK typedef

Removed unused HAL error constants and removed commented-out classes and functions in wpilibj's HALLibrary

Changed Task class API to match the construction semantics of a std::thread

Change-Id: I3bc951a3da90d24c5589fae4d1ca2bb60225c873
This commit is contained in:
Tyler Veness
2014-08-14 00:07:02 -07:00
committed by James Kuszmaul
parent 5712565068
commit fd4c169658
41 changed files with 214 additions and 647 deletions

View File

@@ -7,11 +7,8 @@
#ifndef _ERROR_BASE_H
#define _ERROR_BASE_H
#if (defined __vxworks || defined WIN32)
#if defined WIN32
#include <semLib.h>
#ifdef __vxworks
#include <vxWorks.h>
#endif
#define DISALLOW_COPY_AND_ASSIGN(ErrorBase)
@@ -44,4 +41,4 @@ public:
};
#endif
#endif // __vxworks
#endif // WIN32