Skip to content
This repository has been archived by the owner on Feb 27, 2022. It is now read-only.

Commit

Permalink
a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Nov 15, 2010
1 parent d565dc1 commit b8bfc2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nas.cc
Expand Up @@ -47,6 +47,7 @@ static Handle<Value> DoSomethingAsync (const Arguments& args) {
}

// this function happens on the thread pool
// doing v8 things in here will make bad happen.
static int DoSomething (eio_req *req) {
struct simple_request * sr = (struct simple_request *)req->data;
sleep(2); // just to make it less pointless to be async.
Expand Down

0 comments on commit b8bfc2b

Please sign in to comment.