Revision 33fae697

View differences:

lib/domain.js
33 33
events.usingDomains = true;
34 34

  
35 35
// let the process know we're using domains
36
process._usingDomains();
36
process._setupDomainUse();
37 37

  
38 38
exports.Domain = Domain;
39 39

  
src/node.cc
899 899
}
900 900

  
901 901

  
902
Handle<Value> UsingDomains(const Arguments& args) {
902
Handle<Value> SetupDomainUse(const Arguments& args) {
903 903
  HandleScope scope(node_isolate);
904 904
  if (using_domains)
905 905
    return Undefined();
......
2507 2507

  
2508 2508
  NODE_SET_METHOD(process, "binding", Binding);
2509 2509

  
2510
  NODE_SET_METHOD(process, "_usingDomains", UsingDomains);
2510
  NODE_SET_METHOD(process, "_setupDomainUse", SetupDomainUse);
2511 2511

  
2512 2512
  // values use to cross communicate with processNextTick
2513 2513
  Local<Object> info_box = Object::New();

Also available in: Unified diff