Skip to content

Commit

Permalink
Fixme warning: add/delete copy ctr and opr
Browse files Browse the repository at this point in the history
  • Loading branch information
leohotfn committed May 16, 2017
1 parent ed9722a commit f046b50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,8 @@ void Thread::start()
assert(!started_);
started_ = true;

// FIXME: this
if (pthread_create(&pthreadId_, NULL, startThread, this) != 0) {
started_ = false;
// FIXME: Add lock
std::cerr << "Failed in pthread_create" << std::endl;
}
}
Expand Down
2 changes: 2 additions & 0 deletions src/Thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ namespace Reuzel {
explicit Thread(const ThreadFunc& func);
~Thread();

//FIXME: add copy ctr and copy opr

void start();
int join();

Expand Down

0 comments on commit f046b50

Please sign in to comment.