Permalink
Browse files

mispelling renamed

  • Loading branch information...
1 parent 1bddacf commit 1c26ccecc02fc50aeabedc209a2566ffaccc55a4 @gunoodaddy committed Feb 10, 2012
Showing with 10 additions and 10 deletions.
  1. +1 −1 src/DeferredCaller.cpp
  2. +2 −2 src/DeferredCaller.h
  3. +2 −2 src/DeferredCallerImpl.h
  4. +1 −1 src/IOService.cpp
  5. +2 −2 src/IOService.h
  6. +2 −2 src/IOServiceImpl.h
View
@@ -52,7 +52,7 @@ void DeferredCaller::setIOService(boost::shared_ptr<IOService> ioService) {
impl_->setIOService(ioService);
}
-void DeferredCaller::deferredCall(deferedMethod_t func) {
+void DeferredCaller::deferredCall(deferredMethod_t func) {
impl_->deferredCall(func);
}
View
@@ -44,11 +44,11 @@ class COCONUT_API DeferredCaller {
DeferredCaller(boost::shared_ptr<IOService> ioService);
~DeferredCaller();
- typedef boost::function< void () > deferedMethod_t;
+ typedef boost::function< void () > deferredMethod_t;
public:
void setIOService(boost::shared_ptr<IOService> ioService);
- void deferredCall(deferedMethod_t func);
+ void deferredCall(deferredMethod_t func);
private:
boost::shared_ptr<DeferredCallerImpl> impl_;
View
@@ -63,7 +63,7 @@ class DeferredCallerImpl {
createHandle();
}
- void deferredCall(DeferredCaller::deferedMethod_t func) {
+ void deferredCall(DeferredCaller::deferredMethod_t func) {
lock_.lock();
deferredMethods_.push_back(func);
lock_.unlock();
@@ -78,7 +78,7 @@ class DeferredCallerImpl {
protected:
boost::shared_ptr<IOService> ioService_;
- std::vector<DeferredCaller::deferedMethod_t> deferredMethods_;
+ std::vector<DeferredCaller::deferredMethod_t> deferredMethods_;
Mutex lock_;
};
View
@@ -144,7 +144,7 @@ bool IOService::isCalledInMountedThread() {
return impl_->isCalledInMountedThread();
}
-void IOService::deferredCall(deferedMethod_t func) {
+void IOService::deferredCall(deferredMethod_t func) {
return impl_->deferredCall(func);
}
View
@@ -58,7 +58,7 @@ class COCONUT_API IOService : public boost::enable_shared_from_this<IOService> {
IOService(BaseIOServiceContainer *ioServiceContainer, bool threadMode = false);
public:
- typedef boost::function< void () > deferedMethod_t;
+ typedef boost::function< void () > deferredMethod_t;
boost::thread::id threadHandle();
@@ -72,7 +72,7 @@ class COCONUT_API IOService : public boost::enable_shared_from_this<IOService> {
bool isCalledInMountedThread();
bool isStopped();
- void deferredCall(deferedMethod_t func);
+ void deferredCall(deferredMethod_t func);
BaseIOServiceContainer *ioServiceContainer();
coconut_io_handle_t coreHandle();
View
@@ -68,7 +68,7 @@ class IOServiceImpl {
return threadHandle() == boost::this_thread::get_id();
}
- void deferredCall(IOService::deferedMethod_t func) {
+ void deferredCall(IOService::deferredMethod_t func) {
lockDeferredCaller_.lock();
deferredCallbacks_.push_back(func);
lockDeferredCaller_.unlock();
@@ -178,7 +178,7 @@ class IOServiceImpl {
Mutex lock_;
Mutex lockDeferredCaller_;
- std::vector<IOService::deferedMethod_t> deferredCallbacks_;
+ std::vector<IOService::deferredMethod_t> deferredCallbacks_;
};
}

0 comments on commit 1c26cce

Please sign in to comment.