Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yayanyang committed Sep 6, 2012
1 parent 0d01b5b commit 3587d67
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions io/io_service.hpp
Expand Up @@ -64,25 +64,6 @@ namespace lemon{namespace io{
LemonIOServiceReset(*this,errorCode);
}

template<typename Handle>
void post_one(Handle handle)
{
Callback cb(handle);

Callback::wrapper_type data = cb.release();

error_info errorCode;

LemonIOServicePostJob(*this,&IOCallback,data,errorCode);

if(errorCode.fail())
{
cb = data;

errorCode.check_throw();
}
}

private:

static LemonIOService Create()
Expand Down

0 comments on commit 3587d67

Please sign in to comment.