~rdoering/ubuntu/karmic/erlang/fix-535090

« back to all changes in this revision

Viewing changes to erts/emulator/sys/win32/sys.c

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-02-15 16:42:52 UTC
  • mfrom: (3.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090215164252-q5x4rcf8a5pbesb1
Tags: 1:12.b.5-dfsg-2
Upload to unstable after lenny is released.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2229
2229
 
2230
2230
        sys_memset((void*)&dopts, 0, sizeof(SysDriverOpts));
2231
2231
        add_driver_entry(&async_driver_entry);
2232
 
        ret = erts_open_driver(&async_driver_entry, NIL, "async", &dopts, NULL);
 
2232
        ret = erts_open_driver(NULL, NIL, "async", &dopts, NULL);
2233
2233
        DEBUGF(("open_driver = %d\n", ret));
2234
2234
        if (ret < 0)
2235
2235
            erl_exit(1, "Failed to open async driver\n");
2638
2638
        eid.realloc = ethr_internal_realloc;
2639
2639
        eid.free = ethr_internal_free;
2640
2640
        erts_thr_init(&eid);
 
2641
#ifdef ERTS_ENABLE_LOCK_COUNT
 
2642
        erts_lcnt_init();
 
2643
#endif
2641
2644
    }
2642
2645
#endif
2643
2646
    erts_smp_atomic_init(&sys_misc_mem_sz, 0);