예제 #1
0
 v8::Handle<v8::Value> ThreadReturnData(V8Scope* scope, const v8::Arguments& args) {
     BSONObj data = thisConfig(scope, args)->returnData();
     return scope->mongoToV8Element(data.firstElement(), true);
 }
예제 #2
0
 Handle< Value > ThreadStart( V8Scope* scope, const Arguments &args ) {
     thisConfig( scope, args )->start();
     return v8::Undefined();
 }
예제 #3
0
 v8::Handle<v8::Value> ThreadJoin(V8Scope* scope, const v8::Arguments& args) {
     thisConfig(scope, args)->join();
     return v8::Undefined();
 }
예제 #4
0
파일: v8_utils.cpp 프로젝트: IlyaM/mongo
 Handle< Value > ThreadReturnData( const Arguments &args ) {
     HandleScope handle_scope;
     return handle_scope.Close( thisConfig( args )->returnData() );
 }
예제 #5
0
파일: v8_utils.cpp 프로젝트: IlyaM/mongo
 Handle< Value > ThreadJoin( const Arguments &args ) {
     thisConfig( args )->join();
     return v8::Undefined();
 }
예제 #6
0
파일: v8_utils.cpp 프로젝트: IlyaM/mongo
 Handle< Value > ThreadStart( const Arguments &args ) {
     thisConfig( args )->start();
     return v8::Undefined();
 }
예제 #7
0
 v8::Local<v8::Value> ThreadReturnData(V8Scope* scope,
                                       const v8::FunctionCallbackInfo<v8::Value>& args) {
     BSONObj data = thisConfig(scope, args)->returnData();
     return scope->mongoToV8Element(data.firstElement(), true);
 }
예제 #8
0
 v8::Local<v8::Value> ThreadJoin(V8Scope* scope,
                                 const v8::FunctionCallbackInfo<v8::Value>& args) {
     thisConfig(scope, args)->join();
     return v8::Undefined(scope->getIsolate());
 }