Git Product home page Git Product logo

classic_objy_mt's Introduction

classic_objy_mt

Multi-threaded test for Classic Objectivity/DB C++ APIs

This test will create 2 threads and create two types of objects in own container in each thread. The variable THREAD_COUNT in src/main.cpp control the number of threads created.

Build the test

  1. Make sure you have Objectivity/DB installed and configured.
  2. Run recreatefd.bat from the data direcotry to create an empty federation to be configured.
  3. In the IDE run build to create the schema and generate files needed for access with Objectivity/DB APIs.
    • although there are dependencies setup for the DDL files, for some reason they are not working, so you might get errors if you just run the build. The best is to compile each file in the following order.
      • object.ddl
      • DbfObject.ddl
      • DbfNameObject.ddl
      • DbfEditableObject.ddl
      • DbsSite.ddl

Run the test

You can runt he test from the main project directory using either debug/mt_test.exe or release/mt_test.exe. It assumes that the FD boot file is data/testfd.boot, otherwise you need to edit src/main.cpp to point to the correct file path.

classic_objy_mt's People

Contributors

isallam avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.