Skip to content

Commit

Permalink
Update util.h
Browse files Browse the repository at this point in the history
  • Loading branch information
vashshawn authored Apr 13, 2024
1 parent 98f9409 commit e76a1ab
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -349,13 +349,6 @@ std::string HexStr(const T itbegin, const T itend, bool fSpaces=false)
return rv;
}

template<typename T>
void skipspaces(T& it)
{
while (isspace(*it))
++it;
}

inline int64_t GetPerformanceCounter()
{
int64_t nCounter = 0;
Expand Down Expand Up @@ -566,11 +559,6 @@ inline void SetThreadPriority(int nPriority)
setpriority(PRIO_PROCESS, 0, nPriority);
#endif
}

inline void ExitThread(size_t nExitCode)
{
pthread_exit((void*)nExitCode);
}
#endif

void RenameThread(const char* name);
Expand Down

0 comments on commit e76a1ab

Please sign in to comment.